提交 9d0e0514 编写于 作者: Q qiang

fix: image 组件加载失败时不重置大小

上级 91e4191a
......@@ -196,9 +196,9 @@ export default {
img.src = realImagePath
} else {
this._clearImage()
this._resetData()
// 与微信小程序保持一致,保留之前样式
// this._resetData()
this._resetSize()
// this._resetSize()
}
},
_clearImage () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册