From 3ec8aa502d587eb8d351312bfe6a1a03adbea1e6 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 25 Jan 2026 15:13:12 +0000 Subject: [PATCH] =?UTF-8?q?style(chat):=20=E7=BB=9F=E4=B8=80=E6=96=9C?= =?UTF-8?q?=E6=9D=A0=E8=8F=9C=E5=8D=95=E6=98=BE=E7=A4=BA=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E4=B8=BA=E5=91=BD=E4=BB=A4=E5=9C=A8=E5=89=8D=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E5=9C=A8=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @ 提及、# 任务、~ 文件、% 工作报告 均调整为命令符号在前 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- .../manage/components/ChatInput/index.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 1c36aa456..3e411997b 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -1254,8 +1254,8 @@ export default { this.quill.deleteText(mentionCharPos, cursorPos - mentionCharPos, Quill.sources.USER); this.quill.setSelection(mentionCharPos, 0, Quill.sources.USER); } - if (["@", "#", "~", "%"].includes(item.tip)) { - this.openMenu(item.tip); + if (["@", "#", "~", "%"].includes(item.value)) { + this.openMenu(item.value); } else if (['/analyze', '/summarize'].includes(item.value)) { // AI 命令:调用后端 API const command = item.value.slice(1); @@ -2721,23 +2721,23 @@ export default { list: [ { id: 'mention', - value: this.$L('提及'), - tip: '@', + value: '@', + tip: this.$L('提及'), }, { id: 'task', - value: this.$L('任务'), - tip: '#', + value: '#', + tip: this.$L('任务'), }, { id: 'file', - value: this.$L('文件'), - tip: '~', + value: '~', + tip: this.$L('文件'), }, { id: 'report', - value: this.$L('工作报告'), - tip: '%', + value: '%', + tip: this.$L('工作报告'), }, // /analyze 仅在任务和项目对话中显示 ...(['task', 'project'].includes(this.dialogData?.group_type) ? [{