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