We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d0c3c6 commit 15d9c1cCopy full SHA for 15d9c1c
src/store/modules/chat/index.ts
@@ -240,7 +240,7 @@ export const useChatStore = defineStore('chat-store', {
240
241
const chatIndex = this.chat.findIndex(item => item.uuid === uuid)
242
if (chatIndex !== -1) {
243
- fetchDeleteChat(uuid, this.chat[chatIndex].data[index].uuid || 0, this.chat[0].data[index].inversion)
+ fetchDeleteChat(uuid, this.chat[chatIndex].data[index].uuid || 0, this.chat[chatIndex].data[index].inversion)
244
this.chat[chatIndex].data.splice(index, 1)
245
this.recordState()
246
}
0 commit comments