Angular2 View Not Changing After Data Is Updated

前端 未结 6 1427
长情又很酷
长情又很酷 2020-12-09 15:42

I am trying to update my view after a websocket event returns updated data.

I injected a service into my app and call getData() method on the service. This method em

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 16:19

    I was having the same problem, and the issue was:

    I was using "angular2": "2.0.0-beta.1" It seems that there is a bug, because after updating to "angular2": "2.0.0-beta.15" It is working fine.

    I hope it helps, I learnt it the painful way

提交回复
热议问题