右键看路径:
- http://localhost:8080/assets/images/%E7%BB%84-11.png
- http://localhost:8080/assets/images/%E7%BB%84-13.png
- http://localhost:8080/assets/images/group-11.png
- http://localhost:8080/cas/assets/images/%E7%BB%84-13.png%22) 都不行。 解决:
// template
<img class="img-workbench" :src="info.imgSrc">
// js
imgSrc: '/static/img/组-11.png'
- 成功了!要放在static下,不能放assets下
- https://www.cnblogs.com/zjy850984598/p/10269052.html 好文章
- https://blog.csdn.net/mr_yanyan/article/details/78783091 有点用
- https://www.cnblogs.com/winnieKing/p/7902684.html 试了加require不行
- https://blog.csdn.net/qq_41387882/article/details/82690337 试了加@不行