Commit 70fff34b by sunchao

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

parent 8fec8ce2
......@@ -21,13 +21,15 @@ export class MoreFeaturesComponent implements OnInit,OnDestroy {
this.state[key] = false;
}
featureSelect(item){
if(!item.isOpen){
this.state['modal1'] = true;
}
if(item.path){
window.open(item.path);
}else if(item.link){
this.router.navigate([`./${item.link}`]);
if(item.isShow){
if(!item.isOpen){
this.state['modal1'] = true;
}
if(item.path){
window.open(item.path);
}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