<img :src="text" alt="" style="width:40%" @error="imgError">
imgError () {
let img = event.srcElement;
img.src = require(‘@/assets/defaultLogo.png‘);
img.onerror = null; //防止闪图
},
2023-12-14 23:12:57
<img :src="text" alt="" style="width:40%" @error="imgError">
imgError () {
let img = event.srcElement;
img.src = require(‘@/assets/defaultLogo.png‘);
img.onerror = null; //防止闪图
},
下一篇:02管理SQL2005数据库文件