mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/lyswhut/lx-music-desktop.git
synced 2026-09-20 08:04:00 +08:00
优化快捷键设置
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
})
|
||||
dom_mask.classList.add('hide')
|
||||
} */
|
||||
document.getElementById('root').style.display = 'block'
|
||||
dom_root.style.display = 'block'
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
@@ -90,15 +90,16 @@ export default {
|
||||
hotKeyConfig.value = config
|
||||
}
|
||||
|
||||
const handleHotKeyFocus = async(event, info, type) => {
|
||||
console.log('object')
|
||||
await hotKeySetEnable(false)
|
||||
window.isEditingHotKey = true
|
||||
isEditHotKey = true
|
||||
let config = hotKeyConfig.value[type][info.name]
|
||||
newHotKey = config?.key
|
||||
hotKeyTargetInput = event.target
|
||||
event.target.value = t('setting__hot_key_tip_input')
|
||||
const handleHotKeyFocus = (event, info, type) => {
|
||||
setTimeout(async() => {
|
||||
await hotKeySetEnable(false)
|
||||
window.isEditingHotKey = true
|
||||
isEditHotKey = true
|
||||
let config = hotKeyConfig.value[type][info.name]
|
||||
newHotKey = config?.key
|
||||
hotKeyTargetInput = event.target
|
||||
event.target.value = t('setting__hot_key_tip_input')
|
||||
})
|
||||
}
|
||||
|
||||
const handleHotKeyBlur = async(event, info, type) => {
|
||||
|
||||
Reference in New Issue
Block a user