diff --git a/apps/web-antd/src/router/routes/local.ts b/apps/web-antd/src/router/routes/local.ts index 0fb74122..e919fec9 100644 --- a/apps/web-antd/src/router/routes/local.ts +++ b/apps/web-antd/src/router/routes/local.ts @@ -18,7 +18,8 @@ const profileRoute: RouteRecordStringComponent[] = [ title: $t('widgets.profile'), }, name: 'Profile', - path: '', + path: '/', + redirect: '/profile', children: [ { component: '/_core/profile/index',