解决营销系统bug
This commit is contained in:
parent
7e41af12b7
commit
6d0f7c7ed7
|
@ -57,7 +57,7 @@ export default class topNav extends React.Component{
|
|||
let pathnameBreak=sessionStorage.getItem('pathname2')
|
||||
const pathname=window.location.href.lastIndexOf('\/');
|
||||
const pathnamestr=window.location.href.substr(pathname);
|
||||
let breakflag=pathnamestr.includes('add');
|
||||
let breakflag=pathnamestr.includes('add')||pathnamestr.includes('key-list');
|
||||
let sedcbreakflag=pathnamestr.includes('plan-create');
|
||||
let planbreakflag = pathnamestr.includes('mytempMould')
|
||||
let editbreakflag = pathnamestr.includes('edittemplate')
|
||||
|
|
|
@ -141,11 +141,14 @@ export default class acclist extends React.Component{
|
|||
//营销系统名称
|
||||
linkTo(row){
|
||||
sessionStorage.setItem('showflag',true);
|
||||
let arr= [{
|
||||
group:'营销计划管理',
|
||||
items:[{path:'/home/key-list',name:'key列表'}]
|
||||
}]
|
||||
sessionStorage.setItem('menulinklist',JSON.stringify(arr));
|
||||
// let arr= [{
|
||||
// group:'营销计划管理',
|
||||
// items:[{path:'/home/key-list',name:row.title+'key列表'}]
|
||||
// }]
|
||||
let arr=[{pagetitle:'编辑',items:[{path:'/home/key-list',name:'营销计划管理'},
|
||||
{path:'/home/key-list',name:row.title+'key列表'}
|
||||
]}]
|
||||
sessionStorage.setItem('breaknav',JSON.stringify(arr));
|
||||
sessionStorage.setItem('linkshowname',"营销计划管理");
|
||||
sessionStorage.setItem("key_plan_id",row.id)
|
||||
this.props.history.push('/home/key-list');
|
||||
|
|
Loading…
Reference in New Issue