Skip to content

Commit 7a8dd25

Browse files
committed
fix(recycle-list): check promise when mounted
1 parent 29620a6 commit 7a8dd25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/recycle-list/recycle-list.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,8 @@
124124
}
125125
}
126126
},
127-
created () {
128-
this.checkPromiseCompatibility()
129-
},
130127
mounted() {
128+
this.checkPromiseCompatibility()
131129
this.$el.addEventListener(EVENT_SCROLL, this._onScroll)
132130
window.addEventListener(EVENT_RESIZE, this._onResize)
133131
this.init()

0 commit comments

Comments
 (0)