diff --git a/src/components/subnav/main.js b/src/components/subnav/main.js index aba8a778..fca7ed24 100644 --- a/src/components/subnav/main.js +++ b/src/components/subnav/main.js @@ -70,6 +70,7 @@ export default class topNav extends React.Component{ let sedcbreakflag=pathnamestr.includes('plan-create'); let planbreakflag = pathnamestr.includes('mytempMould') let editbreakflag = pathnamestr.includes('edittemplate') + let backshow=pathnamestr.includes('key-list')||pathnamestr.includes('exchange-addcommodity'); let breakchange = pathnamestr.includes('exchangecode-add')|| pathnamestr.includes('key-edit')||pathnamestr.includes('key-detail')||pathnamestr.includes('product-edit')||pathnamestr.includes('plan-edit'); if(breakchange){ breaknav=JSON.parse(sessionStorage.getItem('breakchangenav')) @@ -126,13 +127,13 @@ export default class topNav extends React.Component{ return(
{ - !history0? + !history0&&!backshow? this.backFn(item.items)} src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/Marketing/back.svg" alt=""/> :null } -
+
{ item.items.map((item2,key2)=>{ return(