26 lines
471 B
TypeScript
26 lines
471 B
TypeScript
import { lazy } from 'react';
|
|
import { IRouter } from '../index';
|
|
|
|
// 登录页:独立全屏页,不进侧边菜单
|
|
const result: IRouter[] = [
|
|
{
|
|
path: '/login',
|
|
meta: {
|
|
title: '登录页',
|
|
hidden: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'index',
|
|
Component: lazy(() => import('pages/Login')),
|
|
isFullPage: true,
|
|
meta: {
|
|
title: '登录中心',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default result;
|