Update List.vue

This commit is contained in:
Sepcnt 2023-03-04 20:53:38 +08:00 committed by GitHub
parent 9dd3655b81
commit 002a57704f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ async function handleSelect({ uuid }: Chat.History) {
if (isActive(uuid)) if (isActive(uuid))
return return
if(chatStore.active)
chatStore.updateHistory(chatStore.active, { isEdit: false })
await chatStore.setActive(uuid) await chatStore.setActive(uuid)
if (isMobile.value) if (isMobile.value)