解决登陆存入动态路由

This commit is contained in:
red-deng-deng 2021-11-29 14:52:47 +08:00
parent 76c45170fe
commit d55a123580
1 changed files with 1 additions and 1 deletions

View File

@ -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')