Commit 70fff34b by sunchao

银盾学院空白部分还能点击的bug修复

parent 8fec8ce2
...@@ -21,13 +21,15 @@ export class MoreFeaturesComponent implements OnInit,OnDestroy { ...@@ -21,13 +21,15 @@ export class MoreFeaturesComponent implements OnInit,OnDestroy {
this.state[key] = false; this.state[key] = false;
} }
featureSelect(item){ featureSelect(item){
if(!item.isOpen){ if(item.isShow){
this.state['modal1'] = true; if(!item.isOpen){
} this.state['modal1'] = true;
if(item.path){ }
window.open(item.path); if(item.path){
}else if(item.link){ window.open(item.path);
this.router.navigate([`./${item.link}`]); }else if(item.link){
this.router.navigate([`./${item.link}`]);
}
} }
} }
// 返回上一页 // 返回上一页
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment