This commit is contained in:
red-deng-deng 2021-11-05 17:08:43 +08:00
parent 338c135cf4
commit f6d7ed2748
3 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export default class topNav extends React.Component{
pathname:'',
pathname2:sessionStorage.getItem('pathname2'),
navlists:this.props.listnav,
menulinklist:JSON.parse( sessionStorage.getItem('menulinklist')),
menulinklist:JSON.parse( sessionStorage.getItem('menulinklist'))?JSON.parse( sessionStorage.getItem('menulinklist')):[],
linkshowname:sessionStorage.getItem('linkshowname'),
showflag:JSON.parse( sessionStorage.getItem('showflag'))
@ -69,7 +69,7 @@ export default class topNav extends React.Component{
</div>
{/* 级联菜单 */}
{
breakflag==false&&routeflag=='true'&&this.state.menulinklist!=''?(
this.state.menulinklist!=''&&breakflag==false&&routeflag=='true'?(
<div className="linkmenu" >
{
this.state.menulinklist.map((item,key)=>{

View File

@ -45,6 +45,7 @@
width: 100%;
flex: 1;
margin-top: 60px;
overflow: hidden;
.subtitle{
height: 60px;
line-height: 60px;

View File

@ -1,7 +1,7 @@
#systemMenu{
.menu-body{
width: 100%;
height: 700px;
height: 660px;
margin-top: 8px;
display:flex;
justify-content: space-between;
@ -9,6 +9,8 @@
width: 350px;
height: 100%;
margin-right:15px;
padding-bottom: 24px;
box-sizing: border-box;
.zent-card-body[data-zv="9.11.0"]{
padding: 0;
}