Browse Source

fix:优化vertical-scroll消失动画

richard1015 6 years ago
parent
commit
3519b2aa32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packages/scroller/vertical-scroll.vue

+ 1 - 1
src/packages/scroller/vertical-scroll.vue

@@ -66,7 +66,7 @@ export default {
             if (!status && this.realMove === 0) {
                 clearTimeout(this.timer);
                 this.timer = setTimeout(() => {
-                    this.setTransform(this.realMove, 'end', 0);
+                    this.setTransform(this.realMove, 'end', null);
                 }, this.propsTime);
             }
         },