Skip to content

Commit 82e1d16

Browse files
committed
bugfix: When src is empty, the loading state is wrong.
fixed #910
1 parent c05935e commit 82e1d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uni_modules/uview-ui/components/u-image/u-image.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default {
117117
if (!n) {
118118
// 如果传入null或者'',或者false,或者undefined,标记为错误状态
119119
this.isError = true
120-
120+
this.loading = false;
121121
} else {
122122
this.isError = false;
123123
this.loading = true;

0 commit comments

Comments
 (0)