Browse Source
refactor(app): Update the comments for the getInitialState function (#11408)
pull/11477/head
wudi
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/app.tsx
|
|
|
@ -13,7 +13,7 @@ const isDev = process.env.NODE_ENV === 'development'; |
|
|
|
const loginPath = '/user/login'; |
|
|
|
|
|
|
|
/** |
|
|
|
* @see https://umijs.org/zh-CN/plugins/plugin-initial-state
|
|
|
|
* @see https://umijs.org/docs/api/runtime-config#getinitialstate
|
|
|
|
* */ |
|
|
|
export async function getInitialState(): Promise<{ |
|
|
|
settings?: Partial<LayoutSettings>; |
|
|
|
|