解决导航路由与标签内容不符合
This commit is contained in:
parent
65c9b0e7ba
commit
92f0f657e6
|
@ -14,7 +14,6 @@ export default class topNav extends React.Component{
|
||||||
linkshowname:sessionStorage.getItem('linkshowname'),
|
linkshowname:sessionStorage.getItem('linkshowname'),
|
||||||
showflag:JSON.parse( sessionStorage.getItem('showflag')),
|
showflag:JSON.parse( sessionStorage.getItem('showflag')),
|
||||||
}
|
}
|
||||||
|
|
||||||
this.backFn=this.backFn.bind(this)
|
this.backFn=this.backFn.bind(this)
|
||||||
}
|
}
|
||||||
//点击一级菜单
|
//点击一级菜单
|
||||||
|
|
|
@ -46,11 +46,6 @@ function FormDom(props) {
|
||||||
|
|
||||||
//首次进来进行商品获取
|
//首次进来进行商品获取
|
||||||
getProductList();
|
getProductList();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sessionStorage.setItem('showflag',true);
|
sessionStorage.setItem('showflag',true);
|
||||||
let menuList=response.menu;
|
let menuList=response.menu;
|
||||||
if(response.menu&&response.menu.length>0){
|
if(response.menu&&response.menu.length>0){
|
||||||
|
|
Loading…
Reference in New Issue