AngularJS dynamic image sources

前端 未结 1 1215
隐瞒了意图╮
隐瞒了意图╮ 2021-01-07 22:02

I have the above image tag where the src is in the scope but when I look at the browser console log it shows

1条回答
  •  無奈伤痛
    2021-01-07 22:34

    Use ng-src to avoid strange undeliverable requests being made by browser.

    Once the expression in ng-src is resolved, it will update the src for the tag,

    
    

    0 讨论(0)
提交回复
热议问题