mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-01 02:59:47 +08:00
Fixed: auto start setting
This commit is contained in:
@@ -211,7 +211,11 @@ export default {
|
||||
},
|
||||
handleAutoStartChange (val) {
|
||||
this.$db.read().set('picBed.autoStart', val).write()
|
||||
this.$electron.ipcRenderer.send('autoStart', val)
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.$electron.ipcRenderer.removeAllListeners('autoStart')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user