魔墙:打开对话框时初始化变量,多选对齐完清空多选

This commit is contained in:
miao 2023-03-08 15:35:15 +08:00
parent 1f1a26de65
commit caac3e3d60
1 changed files with 8 additions and 5 deletions

View File

@ -1743,6 +1743,9 @@ export default defineComponent({
offsetWidth.value = wall_dom.offsetWidth;
getpx();
}
test_monitor_list.value.forEach((element) => {
element.isHide = false;
});
if (response && settings) {
const a = response?.config.windows;
output_length.value =
@ -1771,9 +1774,7 @@ export default defineComponent({
multiple.value = false;
last_wall.value = [];
sort_index.value = [];
test_monitor_list.value.forEach((element) => {
element.isHide = false;
});
$store.commit("setShowMonitorList", []);
loading.value = false;
} else if (a && wall_dom) {
@ -2213,7 +2214,7 @@ export default defineComponent({
tep_item.currenty = item.currenty;
}
});
multiple_select.value=[]
realtime_upload();
},
alignBottom() {
@ -2224,6 +2225,7 @@ export default defineComponent({
tep_item.currenty = item.currenty + item.h - tep_item.h;
}
});
multiple_select.value=[]
realtime_upload();
},
alignRight() {
@ -2234,7 +2236,7 @@ export default defineComponent({
tep_item.currentx = item.currentx + item.w - tep_item.w;
}
});
multiple_select.value=[]
realtime_upload();
},
alignLeft() {
@ -2245,6 +2247,7 @@ export default defineComponent({
tep_item.currentx = item.currentx;
}
});
multiple_select.value=[]
realtime_upload();
},
testLog(a: any) {