diff --git a/src/pages/login/loginform.js b/src/pages/login/loginform.js index e7ebd620..99ee8857 100644 --- a/src/pages/login/loginform.js +++ b/src/pages/login/loginform.js @@ -40,7 +40,7 @@ function FormDom(props) { items:[{path:'/home/plan-list',name:'营销计划管理'}] }] sessionStorage.setItem('menulinklist',JSON.stringify(arr)); - sessionStorage.setItem('activeMenu',"营销计划管理"); + sessionStorage.setItem('activeMenu',JSON.stringify(response.menu)); sessionStorage.setItem('linkshowname',"营销计划管理"); setTimeout(()=>{ props.history.push('/home/plan-list')