Commit f29aae2b by Sweet Zhang

登录不出现在线提问

parent 3e193d29
......@@ -88,7 +88,7 @@ export class AppComponent implements OnInit, OnDestroy {
this.router.events.forEach((event) => {
if (event instanceof NavigationStart) {
// 控制首页浮标显示与否和底部菜单
this.isShowIndexBtn = event.url != '/login';
this.isShowIndexBtn = event.url.indexOf('/login') < 0;
this.iconShowFlag = !!localStorage.getItem('lifeCustomerInfo');
if(event.url.indexOf('/material/')>=0
|| event.url.indexOf('/inviter')>=0
......
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