问题1 vue项目中图片路径为变量时不能显示,如下 <img :src="imgSrc" alt=""> this.MyimgSrc = ‘../../assets/style/icon/icon.png' 解决方法: