Finished: dynamic sync default picbed in menu

This commit is contained in:
Molunerfinn
2018-12-25 16:11:10 +08:00
parent 51cea7cdf0
commit 60ccd10e1a
4 changed files with 12 additions and 42 deletions

View File

@@ -9,7 +9,6 @@ export default {
setDefaultPicBed (type) {
this.$db.read().set('picBed.current', type).write()
this.defaultPicBed = type
this.$electron.ipcRenderer.send('updateDefaultPicBed', type)
const successNotification = new window.Notification('设置默认图床', {
body: '设置成功'
})