其他分享
首页 > 其他分享> > 关于ElementUI Image 组件闪烁问题解决方案

关于ElementUI Image 组件闪烁问题解决方案

作者:互联网

<el-image ref="wechat-img" :src="info.qr_code_url" @click="viewWechatQrcode">
   <img :src="info.qr_code_url" slot="placeholder" class="el-image__placeholder"/>
</el-image>

 

 之所以闪烁 就是加载占位内容; 把占位内容和要加载的图片弄成一样就行了

标签:ElementUI,Image,占位,内容,组件,闪烁,加载
来源: https://www.cnblogs.com/guozongzhang/p/15876293.html