Skip to content

Commit 2dc0717

Browse files
authored
u-image组件
fix: 修复u-image组件的src属性, 先传入空值再传入非空值时,无法触发loading效果的bug
2 parents 646d91b + 1a1cd24 commit 2dc0717

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ export default {
172172
this.loading = false;
173173
} else {
174174
this.isError = false;
175+
this.loading = true;
175176
}
176177
}
177178
}

0 commit comments

Comments
 (0)