commit
de34d97529
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue