Preparing search index...
The search index is not available
taomu-routes
taomu-routes
index
AppRouterProps
Interface AppRouterProps
interface
AppRouterProps
{
basename
?:
string
;
beforeRouter
?:
BeforeRouterHook
;
children
?:
ReactNode
;
contextValue
?:
Partial
<
RouteContextType
>
;
importErrorFC
?:
FC
<
ImportErrorProps
>
;
importLoadingFC
?:
FC
<
ImportLoadingProps
>
;
layoutFC
?:
FC
<
LayoutFCProps
>
;
permissionCodeMap
?:
Record
<
string
,
boolean
>
;
routes
:
AutoRoutes
;
routeType
?:
"hash"
|
"browser"
;
window
?:
Window
;
}
Hierarchy
BrowserRouterProps
Pick
<
AsyncImportProps
,
"beforeRouter"
|
"permissionCodeMap"
|
"importErrorFC"
|
"importLoadingFC"
,
>
AppRouterProps
Index
Properties
basename?
before
Router?
children?
context
Value?
import
ErrorFC?
import
LoadingFC?
layoutFC?
permission
Code
Map?
routes
route
Type?
window?
Properties
Optional
basename
basename
?:
string
Optional
before
Router
beforeRouter
?:
BeforeRouterHook
Optional
children
children
?:
ReactNode
Optional
context
Value
contextValue
?:
Partial
<
RouteContextType
>
Optional
import
ErrorFC
importErrorFC
?:
FC
<
ImportErrorProps
>
路由导入错误时渲染的组件
Optional
import
LoadingFC
importLoadingFC
?:
FC
<
ImportLoadingProps
>
路由导入时渲染的组件
Optional
layoutFC
layoutFC
?:
FC
<
LayoutFCProps
>
包裹 Route Item 的函数组件
Optional
permission
Code
Map
permissionCodeMap
?:
Record
<
string
,
boolean
>
权限码映射表
routes
routes
:
AutoRoutes
Optional
route
Type
routeType
?:
"hash"
|
"browser"
Optional
window
window
?:
Window
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
basename
before
Router
children
context
Value
import
ErrorFC
import
LoadingFC
layoutFC
permission
Code
Map
routes
route
Type
window
taomu-routes
Loading...
路由导入错误时渲染的组件