Update List.vue

This commit is contained in:
Sepcnt
2023-03-04 20:53:38 +08:00
committed by GitHub
parent 9dd3655b81
commit 002a57704f

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)