Fixed: hide mini-window options in macOS

This commit is contained in:
PiEgg 2019-01-07 19:37:20 +08:00
parent 5e5a5f133a
commit 250a014fc1

View File

@ -87,6 +87,7 @@
></el-switch>
</el-form-item>
<el-form-item
v-if="os !== 'darwin'"
label="Mini窗口置顶"
>
<el-switch
@ -269,10 +270,12 @@ export default {
]
},
version: pkg.version,
latestVersion: ''
latestVersion: '',
os: ''
}
},
created () {
this.os = process.platform
this.$electron.ipcRenderer.send('getPicBeds')
this.$electron.ipcRenderer.on('getPicBeds', this.getPicBeds)
},