mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
Fixed: hide mini-window options in macOS
This commit is contained in:
parent
5e5a5f133a
commit
250a014fc1
@ -87,6 +87,7 @@
|
|||||||
></el-switch>
|
></el-switch>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
v-if="os !== 'darwin'"
|
||||||
label="Mini窗口置顶"
|
label="Mini窗口置顶"
|
||||||
>
|
>
|
||||||
<el-switch
|
<el-switch
|
||||||
@ -269,10 +270,12 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
version: pkg.version,
|
version: pkg.version,
|
||||||
latestVersion: ''
|
latestVersion: '',
|
||||||
|
os: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
this.os = process.platform
|
||||||
this.$electron.ipcRenderer.send('getPicBeds')
|
this.$electron.ipcRenderer.send('getPicBeds')
|
||||||
this.$electron.ipcRenderer.on('getPicBeds', this.getPicBeds)
|
this.$electron.ipcRenderer.on('getPicBeds', this.getPicBeds)
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user