feat: 提交其余本地改动
This commit is contained in:
29
apps/web-antd/src/router/routes/external/personal.ts
vendored
Normal file
29
apps/web-antd/src/router/routes/external/personal.ts
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import { BasicLayout } from '#/layouts';
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
component: BasicLayout,
|
||||
meta: {
|
||||
hideInMenu: true,
|
||||
title: $t('page.auth.profile'),
|
||||
},
|
||||
name: 'PersonalLayout',
|
||||
path: '/personal',
|
||||
children: [
|
||||
{
|
||||
name: 'PersonalCenter',
|
||||
path: 'center',
|
||||
component: () => import('#/views/personal/center/index.vue'),
|
||||
meta: {
|
||||
hideInMenu: true,
|
||||
title: $t('page.auth.profile'),
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user