️ 窗体初始化后显示 (#117)

* perf: show window after initializing

* perf: remove redundant show() in sub windows
This commit is contained in:
Mccree Lee
2024-07-14 08:36:09 +08:00
committed by GitHub
parent cf66a7e128
commit 59e4012ced
6 changed files with 3 additions and 5 deletions

View File

@@ -123,7 +123,6 @@ const shareTimeTimer = ref<any>();
const showCollection = ref<boolean>(false);
onMounted(async () => {
await webviewWindow.getCurrent().show();
appVersion.value = await app.getVersion();
// 检查数据
if (!postId) {