From efc9e81e83351eca39cff0e267d647807f1c3443 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Mon, 13 Mar 2023 08:49:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B8=85=E7=A9=BA=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E6=96=87=E6=97=B6=E4=B8=8D=E5=BA=94=E8=AF=A5=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/chat/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/store/modules/chat/index.ts b/src/store/modules/chat/index.ts index 3a44723..540954d 100644 --- a/src/store/modules/chat/index.ts +++ b/src/store/modules/chat/index.ts @@ -165,7 +165,6 @@ export const useChatStore = defineStore('chat-store', { if (!uuid || uuid === 0) { if (this.chat.length) { this.chat[0].data = [] - this.history[0].title = 'New Chat' this.recordState() } return @@ -174,7 +173,6 @@ export const useChatStore = defineStore('chat-store', { const index = this.chat.findIndex(item => item.uuid === uuid) if (index !== -1) { this.chat[index].data = [] - this.history[index].title = 'New Chat' this.recordState() } },