|
@@ -92,7 +92,7 @@ export const useChatStore = defineStore('chat-store', {
|
|
|
if (!uuid || uuid === 0) {
|
|
if (!uuid || uuid === 0) {
|
|
|
if (this.history.length === 0) {
|
|
if (this.history.length === 0) {
|
|
|
const uuid = Date.now()
|
|
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.chat.push({ uuid, data: [chat] })
|
|
|
this.active = uuid
|
|
this.active = uuid
|
|
|
this.recordState()
|
|
this.recordState()
|