【问题标题】:Adding an image to the display in Angular在 Angular 中将图像添加到显示中 【发布时间】:2022-09-29 18:15:24 【问题描述】: 我希望向我显示请求的图标,但它没有显示给我,我什至不知道为什么,因为我写了这样一个选择器 它不起作用请帮助我! 标签: html css angular image src 【解决方案1】: 选择器应更改为 <img [src]="icon.png"> 不关闭选择器 【讨论】: