diff --git a/publish/changeLog.md b/publish/changeLog.md index 8075aa08..a07a4a6a 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,3 +1,4 @@ ### 修复 - 修复全局快捷键对桌面歌词无效的问题 +- 修复快捷键设置框内的提示问题 diff --git a/src/renderer/views/Setting.vue b/src/renderer/views/Setting.vue index 323329c8..e4d4b80f 100644 --- a/src/renderer/views/Setting.vue +++ b/src/renderer/views/Setting.vue @@ -983,7 +983,12 @@ export default { await rendererInvoke(NAMES.hotKey.enable, true) window.isEditingHotKey = false this.isEditHotKey = false + const prevInput = hotKeyTargetInput hotKeyTargetInput = null + if (prevInput.value == this.$t('view.setting.hot_key_tip_input')) { + prevInput.value = newHotKey ? this.formatHotKeyName(newHotKey) : '' + return + } let config = this.hotKeyConfig[type][info.name] let originKey if (newHotKey) {