🚧 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
@@ -281,12 +281,6 @@ export default {
this.keyBindingVisible = false
this.shortKey = db.get('shortKey')
},
confirmKeyBinding () {
const oldKey = db.get('shortKey')
db.set('shortKey', this.shortKey)
this.keyBindingVisible = false
this.$electron.ipcRenderer.send('updateShortKey', oldKey)
},
cancelCustomLink () {
this.customLinkVisible = false
this.customLink.value = db.get('customLink') || '$url'