提交 4157c493 编写于 作者: D DCloud_LXH

fix(H5): swiper _resetLayout wrong execution timing

上级 3b58ad6d
...@@ -162,7 +162,6 @@ export default { ...@@ -162,7 +162,6 @@ export default {
mounted () { mounted () {
this._currentCheck() this._currentCheck()
this.touchtrack(this.$refs.slidesWrapper, '_handleContentTrack', true) this.touchtrack(this.$refs.slidesWrapper, '_handleContentTrack', true)
this._resetLayout()
this.$watch(() => { this.$watch(() => {
return this.autoplay && !this.userTracking return this.autoplay && !this.userTracking
}, this._inintAutoplay) }, this._inintAutoplay)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册