修复默认设置数据结构
This commit is contained in:
parent
9e00593c9c
commit
fab7dc9d3c
@ -9,7 +9,10 @@ exports.getAppSetting = () => {
|
||||
let electronStore = new Store()
|
||||
const defaultSetting = {
|
||||
windowSizeId: 1,
|
||||
isShowTray: false,
|
||||
tray: {
|
||||
isShow: false,
|
||||
isToTray: false,
|
||||
},
|
||||
}
|
||||
return Object.assign(defaultSetting, electronStore.get('setting') || {})
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user