30 lines
577 B
TypeScript
30 lines
577 B
TypeScript
import type { AppRouter } from '@/router/config/index'
|
|
|
|
export const baseRouter: AppRouter= {
|
|
name: 'Base',
|
|
path: '',
|
|
meta: {
|
|
title: '首页',
|
|
hidden: false,
|
|
hiddenInMenu: true,
|
|
},
|
|
component: 'BaseLayout',
|
|
children: []
|
|
}
|
|
|
|
export const globalRouter = [
|
|
{
|
|
name: 'LoginView',
|
|
path: '/login',
|
|
redirect: '/login/index',
|
|
icon: 'HomeOutlined',
|
|
hidden: false,
|
|
meta: {
|
|
icon: 'HomeOutlined',
|
|
title: '用户登录',
|
|
},
|
|
component: () => import('@/components/Base/Layout/LoginLayout/index.vue'),
|
|
children: []
|
|
},
|
|
]
|