diff --git a/src/core/view/components/resize-sensor/index.vue b/src/core/view/components/resize-sensor/index.vue index d35b79a598ac5019ca82b986412e801e1e623f78..6ffe5d99b04fa1d9ea5d028bf54f634954bbdf72 100644 --- a/src/core/view/components/resize-sensor/index.vue +++ b/src/core/view/components/resize-sensor/index.vue @@ -69,21 +69,21 @@ export default { '~animationstart': this.update } }, [ - create('div', { - on: { - scroll: this.update - } - }, [ - create('div') - ]), - create('div', { - on: { - scroll: this.update - } - }, [ - create('div') - ]) + create('div', { + on: { + scroll: this.update + } + }, [ + create('div') + ]), + create('div', { + on: { + scroll: this.update + } + }, [ + create('div') ]) + ]) } } diff --git a/src/core/view/components/swiper/index.vue b/src/core/view/components/swiper/index.vue index 5dcf2582ac8e51a598469df04a66a922c62c3d90..0800c5c5e405087bf3248e1c294d43b1c6ed8c3a 100644 --- a/src/core/view/components/swiper/index.vue +++ b/src/core/view/components/swiper/index.vue @@ -95,11 +95,11 @@ export default { top: this._upx2px(this.previousMargin), bottom: this._upx2px(this.nextMargin) } : { - top: 0, - bottom: 0, - left: this._upx2px(this.previousMargin), - right: this._upx2px(this.nextMargin) - } + top: 0, + bottom: 0, + left: this._upx2px(this.previousMargin), + right: this._upx2px(this.nextMargin) + } } return style }, @@ -583,12 +583,12 @@ export default { style: this.slidesStyle, 'class': 'uni-swiper-slides' }, [ - createElement('div', { - ref: 'slideFrame', - class: 'uni-swiper-slide-frame', - style: this.slideFrameStyle - }, swiperItems) - ])] + createElement('div', { + ref: 'slideFrame', + class: 'uni-swiper-slide-frame', + style: this.slideFrameStyle + }, swiperItems) + ])] if (this.indicatorDots) { slidesWrapperChild.push(createElement('div', { ref: 'slidesDots',