|
|
@@ -3,6 +3,7 @@ import { history } from 'umi'
|
|
|
import RightContent from '@/components/RightContent'
|
|
|
import { PERMISSION_NEED_PATH } from './utils/consts/customer'
|
|
|
import { message } from 'antd'
|
|
|
+import logo from '../public/logo.svg'
|
|
|
|
|
|
const loginPath = '/user/login'
|
|
|
|
|
|
@@ -47,6 +48,7 @@ export async function getInitialState() {
|
|
|
|
|
|
export const layout = ({ initialState, setInitialState }) => {
|
|
|
return {
|
|
|
+ logo,
|
|
|
rightContentRender: () => <RightContent />,
|
|
|
disableContentMargin: false,
|
|
|
waterMarkProps: {
|