diff --git a/dashboard/src/views/ChatPage.vue b/dashboard/src/views/ChatPage.vue index d2b963645..2e1b738a6 100644 --- a/dashboard/src/views/ChatPage.vue +++ b/dashboard/src/views/ChatPage.vue @@ -161,7 +161,7 @@
{{ t('core.common.longPress') }} - Ctrl + A + Ctrl + B {{ tm('shortcuts.voiceRecord') }} 🎤
@@ -265,7 +265,8 @@
- + + {{ tm('actions.editTitle') }} @@ -401,7 +402,9 @@ export default { sidebarHovered: false, sidebarHoverTimer: null, sidebarHoverExpanded: false, - sidebarHoverDelay: 100, // 悬停延迟,单位毫秒 pendingCid: null, // Store pending conversation ID for route handling // 连接状态提示相关 + sidebarHoverDelay: 100, // 悬停延迟,单位毫秒 + pendingCid: null, // Store pending conversation ID for route handling + // 连接状态提示相关 connectionConflictDialog: false, connectionStatusSnackbar: false, connectionStatusMessage: '', @@ -1153,8 +1156,8 @@ export default { }); }, handleInputKeyDown(e) { - if (e.ctrlKey && e.keyCode === 65) { // Ctrl+A组合键 - e.preventDefault(); // 防止默认的全选行为 + if (e.ctrlKey && e.keyCode === 66) { // Ctrl+B组合键 + e.preventDefault(); // 防止默认行为 // 防止重复触发 if (this.ctrlKeyDown) return; @@ -1168,8 +1171,9 @@ export default { } }, this.ctrlKeyLongPressThreshold); } - }, handleInputKeyUp(e) { - if (e.keyCode === 65) { // A键释放 + }, + handleInputKeyUp(e) { + if (e.keyCode === 66) { // B键释放 this.ctrlKeyDown = false; // 清除定时器