|
|
@ -49,9 +49,9 @@ export async function getInitialState(): Promise<{ |
|
|
|
|
|
|
|
|
// ProLayout 支持的api https://procomponents.ant.design/components/layout
|
|
|
// ProLayout 支持的api https://procomponents.ant.design/components/layout
|
|
|
export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) => { |
|
|
export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) => { |
|
|
|
|
|
console.log(initialState?.settings); |
|
|
return { |
|
|
return { |
|
|
rightContentRender: () => <RightContent />, |
|
|
rightContentRender: () => <RightContent />, |
|
|
disableContentMargin: false, |
|
|
|
|
|
waterMarkProps: { |
|
|
waterMarkProps: { |
|
|
content: initialState?.currentUser?.name, |
|
|
content: initialState?.currentUser?.name, |
|
|
}, |
|
|
}, |
|
|
|