修改按键绑定

pull/930/merge
lyswhut 2022-04-08 11:43:43 +08:00
parent f96b663bbe
commit f61099ecad
1 changed files with 2 additions and 4 deletions

View File

@ -177,12 +177,10 @@ export default {
}
},
handle_key_mod_down() {
this.isModDown = true
if (!this.isModDown) this.isModDown = true
},
handle_key_mod_up() {
setTimeout(() => {
this.isModDown = false
}, 100)
if (this.isModDown) this.isModDown = false
},
handle_key_mod_f_down() {
if (this.visible) this.$refs.dom_input.focus()