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 { ...@@ -96,8 +96,8 @@ export default {
}, },
watch: { watch: {
items() { items(val) {
this.setActiveItem(0); if (val.length > 0) this.setActiveItem(0);
}, },
activeIndex(val, oldVal) { 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