Commit 432c53dd authored by 曾婧's avatar 曾婧

fix: 华农

parent 86184b18
...@@ -5,7 +5,7 @@ import { ReactSVG } from 'react-svg'; ...@@ -5,7 +5,7 @@ import { ReactSVG } from 'react-svg';
import useMergedState from 'rc-util/lib/hooks/useMergedState'; import useMergedState from 'rc-util/lib/hooks/useMergedState';
import { useHistory } from '@wisdom-utils/runtime'; import { useHistory } from '@wisdom-utils/runtime';
import ProLayout, { getPageTitle } from '@ant-design/pro-layout'; import ProLayout, { getPageTitle } from '@ant-design/pro-layout';
import HNStyles from '../../../HN.less'; import './theme.css';
const LoadingSkeleton = props => { const LoadingSkeleton = props => {
const { route } = props; const { route } = props;
return ( return (
...@@ -76,10 +76,9 @@ const Menu = props => { ...@@ -76,10 +76,9 @@ const Menu = props => {
return item; return item;
}), }),
); );
console.log('HNStyles',HNStyles)
return ( return (
<LoadingSkeleton {...props}> <LoadingSkeleton {...props}>
{route && route.routes && route.routes.length > 0 && HNStyles&&HNStyles.hnlayout && ( {route && route.routes && route.routes.length > 0 && (
<React.Fragment> <React.Fragment>
{menuHeaderRender ? ( {menuHeaderRender ? (
menuHeaderRender(props) menuHeaderRender(props)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment