panhui 2 лет назад
Родитель
Сommit
7b68d1039a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/store/modules/chat/index.ts

+ 1 - 1
src/store/modules/chat/index.ts

@@ -92,7 +92,7 @@ export const useChatStore = defineStore('chat-store', {
             if (!uuid || uuid === 0) {
                 if (this.history.length === 0) {
                     const uuid = Date.now()
-                    this.history.push({ uuid, title: chat.text, isEdit: false })
+                    this.history.push({ uuid, title: chat.text, isEdit: false, maskId: null })
                     this.chat.push({ uuid, data: [chat] })
                     this.active = uuid
                     this.recordState()