diff --git a/src/main/index.js b/src/main/index.js index 942ff6c..22f49a2 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -46,7 +46,7 @@ if(!gotTheLock){ function createLoginWindow() { if (loginWindow) return loginWindow = new BrowserWindow({ - width: import.meta.env.MODE!=='yc'?1160:888, + width: import.meta.env.MODE==='yc'?1160:888, height: 520, show: false, frame: false, diff --git a/src/renderer/src/views/login/index.vue b/src/renderer/src/views/login/index.vue index 563d8f8..7a346e8 100644 --- a/src/renderer/src/views/login/index.vue +++ b/src/renderer/src/views/login/index.vue @@ -1,5 +1,5 @@