feat: 创建新对话后更新左侧列表

This commit is contained in:
2026-03-02 14:03:59 +08:00
parent 2b129800cf
commit 965d322aac
3 changed files with 8 additions and 7 deletions

View File

@@ -60,6 +60,7 @@
import { useI18n } from 'vue-i18n'
import { getProjectList } from '@/api/agent'
import { FormatDate } from '@/utils/tools'
import MyEvent from '@/utils/myEvent'
const { t: $t } = useI18n()
const route = useRoute()
const router = useRouter()
@@ -154,7 +155,8 @@
earlierChatList.value.push(obj)
}
})
}
}
MyEvent.add('updateProjectList', GetProjectList)
GetProjectList()
</script>