We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06f8ec4 commit ed76824Copy full SHA for ed76824
web/src/views/HomeView.vue
@@ -210,6 +210,7 @@ const goToChat = async () => {
210
// 根据用户角色进行跳转
211
if (userStore.isAdmin) {
212
// 管理员用户跳转到聊天页面
213
+ await agentStore.initialize()
214
router.push('/agent')
215
return
216
}
web/src/views/LoginView.vue
@@ -401,6 +401,7 @@ const handleLogin = async () => {
401
if (redirectPath === '/') {
402
// 如果是管理员,直接跳转到/chat页面
403
404
405
406
407
0 commit comments