From 4a19cf233a30d63fb3dc3c41ec2da3ad93ee8e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E8=83=9C=E5=BC=BA?= Date: Thu, 20 Dec 2018 21:07:07 +0800 Subject: [PATCH] style: eslint fix --- .../view/components/resize-sensor/index.vue | 28 +++++++++---------- src/core/view/components/swiper/index.vue | 22 +++++++-------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/core/view/components/resize-sensor/index.vue b/src/core/view/components/resize-sensor/index.vue index d35b79a59..6ffe5d99b 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 5dcf2582a..0800c5c5e 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', -- GitLab