修复主页面因关开机导致的窗口变化问题
This commit is contained in:
parent
ba2594addf
commit
a380a132b7
|
@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue