Angular binding in Promise not work in ngOnInit

前端 未结 0 1639
北海茫月
北海茫月 2021-01-15 00:46

In Angular, I use a simple function that return a Promise and in \'then\' function I change src of an Img html tag. when I call this function from an OnClick function, every

相关标签:
回答
  • 消灭零回复
提交回复
热议问题