fix: open logged-in users on avatar management

This commit is contained in:
stefanfeng
2026-07-24 17:54:02 +08:00
parent cc939b6298
commit 1da5f7f10d
3 changed files with 8 additions and 1 deletions
+6
View File
@@ -5,6 +5,12 @@ import { getAuthToken } from '@/api'
const routes: RouteRecordRaw[] = [
{
path: '/',
name: 'AvatarHome',
redirect: '/avatar/manage',
meta: { title: '数字分身管理', requiresAuth: true }
},
{
path: '/avatar/create',
name: 'AvatarCreate',
component: () => import('@/views/AvatarCreate.vue'),
meta: { title: '创建数字分身', requiresAuth: true }