You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.9 KiB
TypeScript

1 year ago
/*
* @Author: zhoux zhouxia@supervision.ltd
* @Date: 2023-11-22 10:02:59
* @LastEditors: zhoux zhouxia@supervision.ltd
* @LastEditTime: 2023-12-20 14:40:04
* @FilePath: \react-adpro-fabric\config\routes.ts
* @Description: ,`customMade`, koroFileHeader : https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
/**
* @name umi
* @description path,components,routes,redirect,wrappers,name,icon
* @param path path :id *
* @param components location path React src/pages
* @param routes layout 使
* @param redirect
* @param wrappers
* @param name menu.ts menu.xxxx name login menu.ts menu.login
* @param icon https://ant.design/components/icon-cn 注意去除风格后缀和大小写,如想要配置图标为 <StepBackwardOutlined /> 则取值应为 stepBackward 或 StepBackward如想要配置图标为 <UserOutlined /> 则取值应为 user 或者 User
* @doc https://umijs.org/docs/guides/routes
*/
export default [
{
path: '/showInfo',
layout: false,
component: './404',
},
{
path: '/',
redirect: '/showInfo',
},
{
path: '*',
layout: false,
component: './404',
},
];