javascript - How to show image from api call in Angular?
问题描述
HI I have a api call and want to show the image from the property: welcomePopupImage: string;
解决方案
Your file path is incorrect. You have ./Resource/ but above you have /resources/ . The s is missing in your img src.
推荐阅读
- javascript - 为什么在 JavaScript 中 (super.__proto__ === this.__proto__) 是真的?
- reactjs - 状态没有更新正确的信息
- jsf - 通过 ace:fileUpload 上传文件后更新 ice:inputRichText 字段
- node.js - NodeJS - HTTP 请求不会将句柄返回给 REPL
- python - 绘制的图像显示为灰色
- sql - 列出 msi 文件中的表?
- javascript - 单击文本框文本弹出菜单应打开文本框
- android - 滑动期间无法更新 ViewPager 中的菜单项状态
- python - 制作游戏,我无法导入背景图片或精灵
- node.js - 浏览器外的AngularJS单元测试