diff --git a/src/App.vue b/src/App.vue index e2484219..1325634a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -71,7 +71,6 @@ onMounted(async () => { await windowCur.center(); }); await getCurrentWindow().show(); - await getCurrentWindow().center(); }); // 启动后只执行一次的监听