当前位置 博文首页 > wusq的博客:elementUI el-image图片加载失败解决
使用el-image显示图片加载失败
<el-image
style="width: 100%; height:50px; margin:4px 5px 2px 5px;"
src="../assets/logo1.png"
/>
<el-image
style="width: 100%; height:50px; margin:4px 5px 2px 5px;"
:src="require('../assets/logo1.png')"
/>