Merge pull request #279 from sepcnt/patch-1

Update List.vue
This commit is contained in:
Redon authored and GitHub committed 2023-03-05 08:59:22 +08:00
commit de34d97529
1 file changed
+3 -1
+3 -1
View File
@@ -15,7 +15,9 @@ const dataSources = computed(() => chatStore.history)
async function handleSelect({ uuid }: Chat.History) {
if (isActive(uuid))
return
if(chatStore.active)
chatStore.updateHistory(chatStore.active, { isEdit: false })
await chatStore.setActive(uuid)
if (isMobile.value)