flx:修改web插件显示问题
This commit is contained in:
parent
e3be0dbc36
commit
ee529d5e6c
@ -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 => {
|
||||
|
||||
@ -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
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user