This commit is contained in:
shefengchun 2023-02-22 14:33:52 +08:00
commit 09c37b7e82
1 changed files with 2 additions and 8 deletions

View File

@ -343,10 +343,6 @@ export default defineComponent({
nextTick(() => { nextTick(() => {
show_windows_flag.value = true; show_windows_flag.value = true;
}); });
if (wall.value) {
let teph = wall.value?.clientHeight / offsetHeight;
let tepw = wall.value?.clientWidth / offsetWidth;
}
}, 100); }, 100);
}; };
@ -357,8 +353,6 @@ export default defineComponent({
const last_context_menu_pos_x = ref(0); const last_context_menu_pos_x = ref(0);
const last_context_menu_pos_y = ref(0); const last_context_menu_pos_y = ref(0);
let offsetHeight = 0;
let offsetWidth = 0;
const plan_running = computed( const plan_running = computed(
() => $store.state.current_running_plan.trim() != "" () => $store.state.current_running_plan.trim() != ""
); );
@ -729,8 +723,6 @@ export default defineComponent({
let monitorList: any = []; let monitorList: any = [];
if (a && wall_dom) { if (a && wall_dom) {
offsetHeight = wall_dom.clientHeight;
offsetWidth = wall_dom.clientHeight;
a.forEach((element) => { a.forEach((element) => {
let item: test_monitor = new test_monitor(0, 0, 0); let item: test_monitor = new test_monitor(0, 0, 0);
item.h = element.h; item.h = element.h;
@ -756,6 +748,8 @@ export default defineComponent({
} }
}); });
} }
refresh_windows_pos();
} }
} }
}; };