mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-20 19:39:40 +00:00
Update List.vue
This commit is contained in:
@@ -15,7 +15,9 @@ const dataSources = computed(() => chatStore.history)
|
|||||||
async function handleSelect({ uuid }: Chat.History) {
|
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