修复清屏时,依然存在的active样式

This commit is contained in:
miao 2023-03-09 19:12:20 +08:00
parent be2a23fdff
commit 6bfdb69fd8
1 changed files with 3 additions and 1 deletions

View File

@ -1786,6 +1786,7 @@ export default defineComponent({
} }
test_monitor_list.value.forEach((element) => { test_monitor_list.value.forEach((element) => {
element.isHide = false; element.isHide = false;
element.isactive=false
}); });
if ( if (
output_length.value != output_length.value !=
@ -2127,7 +2128,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; 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;
element.isactive=false
}); });
test_monitor_wall.value = []; test_monitor_wall.value = [];