feat: 登录默认页改为我的工作台

This commit is contained in:
Hermes CI Fix
2026-08-16 11:00:19 +08:00
parent 7b5795bf07
commit acf0665010
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ async function handleLogin() {
localStorage.setItem('cma_user', JSON.stringify(res.user))
localStorage.setItem('cma_entity_id', String(res.entity_id ?? res.user?.entity_id ?? 1))
localStorage.setItem('cma_entity_name', res.entity_short_name || res.entity_name || '')
router.push('/dashboard')
router.push('/my-dashboard')
} catch (e: any) {
ElMessage.error(e?.response?.data?.detail || '登录失败')
}