ionic应用切换触发更新

0
195

ionic文档:http://ionicframework.com/docs/api/platform/Platform/

 


 

2017.11.9

发现,取消订阅resume后,无法再次订阅,如果再次订阅就会报错:

Error: Uncaught (in promise): ObjectUnsubscribedError: object unsubscribed

我的写法:


其实这个写法是错误的,正确写法为:

 

 

留下一个答复

Please enter your comment!
Please enter your name here