panhui преди 3 години
родител
ревизия
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()