From 7a229e413f3f98d74bfddabe104365a29ba9be37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Tue, 10 Jun 2025 14:41:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(AI):=20=E7=A7=BB=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=A7=E5=93=81=E5=90=8D=E7=A7=B0=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 HotProducts组件中移除了多余的 console.log语句 - 在 AI index组件中添加了产品名称的更新逻辑 --- src/views/AI/components/HotProducts.vue | 1 - src/views/AI/index.vue | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/AI/components/HotProducts.vue b/src/views/AI/components/HotProducts.vue index 3c7da6a..f578100 100644 --- a/src/views/AI/components/HotProducts.vue +++ b/src/views/AI/components/HotProducts.vue @@ -63,7 +63,6 @@ export default { text: item.productName, }) this.$emit('update:messageList', this.messagesList) - console.log(this.messagesList) }, toggleShowAll() { this.showAll = !this.showAll diff --git a/src/views/AI/index.vue b/src/views/AI/index.vue index b86a266..c808e98 100644 --- a/src/views/AI/index.vue +++ b/src/views/AI/index.vue @@ -180,6 +180,7 @@ export default { }, setProductName(e) { console.log(e) + this.productName = e }, handleScroll() { const messageArea = this.$refs.messageArea