魔墙:删除显示器时实时更新

This commit is contained in:
miao 2023-01-03 17:29:10 +08:00
parent 45e2e4589e
commit 5f9ab983e0
1 changed files with 4 additions and 0 deletions

View File

@ -1204,6 +1204,8 @@ export default defineComponent({
test_monitor_list.value[item.id].isHide = false; test_monitor_list.value[item.id].isHide = false;
test_monitor_wall.value[index].isShow = false; test_monitor_wall.value[index].isShow = false;
multiple_select.value = []; multiple_select.value = [];
realtime_upload();
}, },
closeOtherWindows(item: test_monitor, index: number) { closeOtherWindows(item: test_monitor, index: number) {
current_index.value = index; current_index.value = index;
@ -1216,6 +1218,7 @@ export default defineComponent({
}); });
test_monitor_list.value[item.id].isHide = true; test_monitor_list.value[item.id].isHide = true;
test_monitor_wall.value[index].isShow = true; test_monitor_wall.value[index].isShow = true;
realtime_upload();
}, },
closeAllWindows() { closeAllWindows() {
current_index.value = -1; current_index.value = -1;
@ -1226,6 +1229,7 @@ export default defineComponent({
element.isShow = false; element.isShow = false;
}); });
multiple_select.value = []; multiple_select.value = [];
realtime_upload();
}, },
box_width(row: number, col: number) { box_width(row: number, col: number) {
let tep = JSON.parse( let tep = JSON.parse(