Browse Source

chore: update router params description (#10404)

pull/10406/head
Hexi 3 years ago
committed by GitHub
parent
commit
0f4935f4d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/routes.ts

4
config/routes.ts

@ -1,11 +1,13 @@
/**
* @name umi
* @description path,component,routes,redirect,wrappers,title
* @description path,component,routes,redirect,wrappers,name,icon
* @param path path 第一种是动态参数 :id *
* @param component 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 [

Loading…
Cancel
Save