zhuhao_dev #424
|
@ -46,7 +46,7 @@ if(!gotTheLock){
|
||||||
function createLoginWindow() {
|
function createLoginWindow() {
|
||||||
if (loginWindow) return
|
if (loginWindow) return
|
||||||
loginWindow = new BrowserWindow({
|
loginWindow = new BrowserWindow({
|
||||||
width: import.meta.env.MODE!=='yc'?1160:888,
|
width: import.meta.env.MODE==='yc'?1160:888,
|
||||||
height: 520,
|
height: 520,
|
||||||
show: false,
|
show: false,
|
||||||
frame: false,
|
frame: false,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<ycLogin v-if="buildMode !== 'yc'">
|
<ycLogin v-if="buildMode === 'yc'">
|
||||||
</ycLogin>
|
</ycLogin>
|
||||||
<defultLogin v-else>
|
<defultLogin v-else>
|
||||||
</defultLogin>
|
</defultLogin>
|
||||||
|
|
Loading…
Reference in New Issue