mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-21 11:57:47 +00:00
Update List.vue
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user