fix: 前端页面架构重构优化

This commit is contained in:
Gsh
2025-12-31 00:59:06 +08:00
parent 6cc0059691
commit b8c0f9a212
6 changed files with 125 additions and 171 deletions

View File

@@ -36,7 +36,7 @@ export const useSessionStore = defineStore('session', () => {
try {
// 清空当前选中会话信息
setCurrentSession(null);
router.replace({ name: 'chatConversationWithId' });
await router.replace({ name: 'chatConversation' });
}
catch (error) {
console.error('createSessionBtn错误:', error);