chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ export default createComponent({
mixins: [
TouchMixin,
ParentMixin('vanSwipe'),
BindEventMixin(function(bind, isBind) {
BindEventMixin(function (bind, isBind) {
bind(window, 'resize', this.resize, true);
bind(window, 'visibilitychange', this.onVisibilityChange);
@@ -175,7 +175,7 @@ export default createComponent({
this.swiping = true;
this.active = active;
this.offset = this.getTargetOffset(active);
this.children.forEach(swipe => {
this.children.forEach((swipe) => {
swipe.offset = 0;
});
this.autoPlay();