|
|
@@ -177,6 +177,8 @@ export const request: RequestConfig = {
|
|
|
// ProLayout 支持的api https://procomponents.ant.design/components/layout
|
|
|
export const layout: RunTimeLayoutConfig = ({ initialState }) => {
|
|
|
return {
|
|
|
+ navTheme: 'light',
|
|
|
+ headerTheme: 'light',
|
|
|
rightContentRender: () => <RightContent />,
|
|
|
disableContentMargin: false,
|
|
|
waterMarkProps: {
|
|
|
@@ -209,6 +211,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState }) => {
|
|
|
// 自定义 403 页面
|
|
|
// unAccessible: <div>unAccessible</div>,
|
|
|
...initialState?.settings,
|
|
|
+ title: '',
|
|
|
};
|
|
|
};
|
|
|
|