Angular 2 View will not update after variable change in subscribe

后端 未结 4 1654
耶瑟儿~
耶瑟儿~ 2020-11-27 04:26

I have a problem where my view will not change when I update my variable in my observable subscription. I am trying to show a loading spinner while I wait for a response fro

4条回答
  •  醉梦人生
    2020-11-27 04:39

    if you are using it in expression *ngIf remember *ngIf = false will not work as expression you need to add

提交回复
热议问题