|
|
@@ -27,7 +27,7 @@ class NavBar extends Component {
|
|
|
const pathNames = this.props.history.location.pathname;
|
|
|
let defaultS = [];
|
|
|
defaultS.push(pathNames);
|
|
|
- console.log(defaultS)//实时根据当前路径更新
|
|
|
+ // console.log(defaultS)//实时根据当前路径更新
|
|
|
return (
|
|
|
<Layout style={{ minHeight: "100vh" }}>
|
|
|
<Header className="header">BoNiu</Header>
|