关闭全部时以及清屏清除显示器当前选择

This commit is contained in:
miao 2023-03-09 17:50:12 +08:00
parent 3d0925f444
commit be2a23fdff
1 changed files with 2 additions and 0 deletions

View File

@ -2127,6 +2127,7 @@ export default defineComponent({
closeAllWindows() { closeAllWindows() {
sort_index.value = []; sort_index.value = [];
current_index.value = -1; current_index.value = -1;
monitor_list_current_index.value = -1;
// test_monitor_wall.value.forEach((ele) => { // test_monitor_wall.value.forEach((ele) => {
// ele.cmh = Math.round(ele.h / lcm.value); // ele.cmh = Math.round(ele.h / lcm.value);
// ele.cmw = Math.round(ele.w / lcm.value); // ele.cmw = Math.round(ele.w / lcm.value);
@ -2136,6 +2137,7 @@ export default defineComponent({
test_monitor_list.value.forEach((element) => { test_monitor_list.value.forEach((element) => {
element.isHide = false; element.isHide = false;
}); });
test_monitor_wall.value = []; test_monitor_wall.value = [];
multiple_select.value = []; multiple_select.value = [];
realtime_upload(); realtime_upload();