flx:修改web插件显示问题

This commit is contained in:
Rain_ 2025-12-06 10:18:24 +08:00
parent e3be0dbc36
commit ee529d5e6c
4 changed files with 2041 additions and 1909 deletions

View File

@ -481,7 +481,7 @@ const play = (row, index) => {
reloadBtn.textContent = "重新加载";
reloadBtn.addEventListener("click", (e) => {
e.stopPropagation();
onReload(row.id);
onReload(row.itemId);
});
//
@ -515,9 +515,9 @@ const play = (row, index) => {
const onReload = (id) => {
console.log("重新加载", id);
//
const findItem = videoInfo.devH5List.find(item => item.id === id);
const findItem = videoInfo.devH5List.find(item => item.itemId === id);
if (findItem) {
play(findItem, videoInfo.iWndIndex);
play(findItem, findItem.eIndex);
}
};
const onTwoSubmit = num => {

View File

@ -108,13 +108,13 @@ onBeforeUnmount(() => {
})
//
watch(() => props.devList, (newVal) => {
if (newVal.length > 0) {
newVal.forEach(element => {
play(element)
})
}
})
// watch(() => props.devList, (newVal) => {
// if (newVal.length > 0) {
// newVal.forEach(element => {
// play(element)
// })
// }
// })
watch(() => props.equipmentDialog, (newVal) => {
if (videoPlugin.value) {

File diff suppressed because it is too large Load Diff

View File

@ -544,7 +544,7 @@ const play = (row, index) => {
reloadBtn.textContent = "重新加载";
reloadBtn.addEventListener("click", (e) => {
e.stopPropagation();
onReload(row.id);
onReload(row.itemId);
});
//
@ -588,9 +588,9 @@ const play = (row, index) => {
const onReload = (id) => {
console.log("重新加载", id);
//
const findItem = videoInfo.devH5List.find(item => item.id === id);
const findItem = videoInfo.devH5List.find(item => item.itemId === id);
if (findItem) {
play(findItem, videoInfo.iWndIndex);
play(findItem, findItem.eIndex);
}
};
const onTwoSubmit = num => {