🚧 WIP: finished shortKey page

This commit is contained in:
PiEgg
2019-09-18 19:21:13 +08:00
parent 554cc0dbf8
commit b63ac03b84
5 changed files with 77 additions and 16 deletions
-6
View File
@@ -370,12 +370,6 @@ export default {
this.keyBindingVisible = false
this.shortKey = this.$db.get('settings.shortKey')
},
confirmKeyBinding () {
const oldKey = this.$db.get('settings.shortKey')
this.$db.set('settings.shortKey', this.shortKey)
this.keyBindingVisible = false
this.$electron.ipcRenderer.send('updateShortKey', oldKey)
},
cancelCustomLink () {
this.customLinkVisible = false
this.customLink.value = this.$db.get('settings.customLink') || '$url'