From 42ca8f291cf0d66db01a3345f28e11dc7b7977ee Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 25 Jan 2026 15:11:57 +0000 Subject: [PATCH] =?UTF-8?q?style(ai):=20=E8=B0=83=E6=95=B4=20AI=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=8F=9C=E5=8D=95=E6=98=BE=E7=A4=BA=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E4=B8=BA=E5=91=BD=E4=BB=A4=E5=9C=A8=E5=89=8D=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E5=9C=A8=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /analyze 分析 -> /analyze | 分析 /summarize 总结 -> /summarize | 总结 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- .../js/pages/manage/components/ChatInput/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 111fff883..1c36aa456 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -1256,9 +1256,9 @@ export default { } if (["@", "#", "~", "%"].includes(item.tip)) { this.openMenu(item.tip); - } else if (['/analyze', '/summarize'].includes(item.tip)) { + } else if (['/analyze', '/summarize'].includes(item.value)) { // AI 命令:调用后端 API - const command = item.tip.slice(1); + const command = item.value.slice(1); $A.apiCall({ url: 'dialog/ai/command', method: 'post', @@ -2742,13 +2742,13 @@ export default { // /analyze 仅在任务和项目对话中显示 ...(['task', 'project'].includes(this.dialogData?.group_type) ? [{ id: 'analyze', - value: this.$L('分析'), - tip: '/analyze', + value: '/analyze', + tip: this.$L('分析'), }] : []), { id: 'summarize', - value: this.$L('总结'), - tip: '/summarize', + value: '/summarize', + tip: this.$L('总结'), }, ] }];