Commit df46ca5c authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

Carousel: fix async item not refreshing view issue (#3159)

parent 2a11579d
......@@ -96,8 +96,8 @@ export default {
},
watch: {
items() {
this.setActiveItem(0);
items(val) {
if (val.length > 0) this.setActiveItem(0);
},
activeIndex(val, oldVal) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment