fix(Image): should not render img when error

This commit is contained in:
chenjiahan
2020-10-09 19:39:50 +08:00
parent 8356831711
commit 59fb1d4dfc
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ app.use(Lazyload);
| cover | 保持宽高缩放图片,使图片的短边能完全显示出来,裁剪长边 |
| fill | 拉伸图片,使图片填满元素 |
| none | 保持图片原有尺寸 |
| scale-down | 取`none``contain`中较小的一个 |
| scale-down | 取 `none``contain` 中较小的一个 |
### Events