diff --git a/src/main/main.ts b/src/main/main.ts index 3747514..5d96f3f 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -482,9 +482,9 @@ function onLoad() { // 创建窗口时触发 function onBrowserWindowCreated(window: BrowserWindow) { - // if (selfInfo.uid) { - // return - // } + if (selfInfo.uid) { + return + } mainWindow = window log('window create', window.webContents.getURL().toString()) try {