重新打开应用是否自动登录判断优化 #18

Merged
yangqiang merged 14 commits from yangjie into master 2024-10-11 14:15:18 +08:00
2 changed files with 5 additions and 6 deletions
Showing only changes of commit ffe669d901 - Show all commits

View File

@ -318,7 +318,7 @@ app.on('ready', () => {
transparent: true,
})
child.loadURL(config.url)
childWindow[key] = child
childWindow[config.key] = child
child.once('ready-to-show', () => {
child.show()
child.setSize(config.width, config.height)

View File

@ -5,7 +5,6 @@ const ShareScreenWindow: React.FC = () => {
useEffect(() => {
}, []);
// window.electron.createChildWindow({
// url: location.origin + `/#/shareScreenWindow`,
// width: 600,