初始化
This commit is contained in:
82
easyflow-ui-usercenter/app/src/router/routes/static/my.ts
Normal file
82
easyflow-ui-usercenter/app/src/router/routes/static/my.ts
Normal file
@@ -0,0 +1,82 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
name: 'My',
|
||||
path: '/my',
|
||||
meta: {
|
||||
title: '我的',
|
||||
hideInBreadcrumb: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'AssetLibrary',
|
||||
path: '/assetLibrary',
|
||||
component: () => import('#/views/assetLibrary/index.vue'),
|
||||
meta: {
|
||||
icon: 'svg:asset-library',
|
||||
order: 77,
|
||||
title: '我的素材',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ChatHistory',
|
||||
path: '/chatHistory',
|
||||
component: () => import('#/views/chatHistory/index.vue'),
|
||||
meta: {
|
||||
icon: 'svg:chat-history',
|
||||
order: 80,
|
||||
title: '聊天记录',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ChatHistoryDetails',
|
||||
path: '/chatHistory/:id',
|
||||
component: () => import('#/views/chatHistory/details/index.vue'),
|
||||
meta: {
|
||||
title: '聊天记录',
|
||||
hideInMenu: true,
|
||||
hideInTab: true,
|
||||
hideInBreadcrumb: true,
|
||||
activePath: '/chatHistory',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ExecHistory',
|
||||
path: '/execHistory',
|
||||
component: () => import('#/views/execHistory/index.vue'),
|
||||
meta: {
|
||||
icon: 'svg:exec-history',
|
||||
order: 88,
|
||||
title: '执行记录',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ExecHistoryDetails',
|
||||
path: '/execHistory/:id',
|
||||
component: () => import('#/views/execHistory/details/index.vue'),
|
||||
meta: {
|
||||
title: '执行记录',
|
||||
hideInMenu: true,
|
||||
hideInTab: true,
|
||||
hideInBreadcrumb: true,
|
||||
activePath: '/execHistory',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PersonalCenter',
|
||||
path: '/personalCenter',
|
||||
component: () => import('#/views/personalCenter/index.vue'),
|
||||
meta: {
|
||||
icon: 'svg:people',
|
||||
order: 99,
|
||||
title: $t('page.auth.profile'),
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user