diff --git a/packages/loadmore/src/loadmore.vue b/packages/loadmore/src/loadmore.vue index 431b7318..e2b3acaa 100644 --- a/packages/loadmore/src/loadmore.vue +++ b/packages/loadmore/src/loadmore.vue @@ -337,7 +337,7 @@ this.topStatus = 'loading'; this.topMethod(); } else { - this.translate = '0'; + this.translate = 0; this.topStatus = 'pull'; } } @@ -349,7 +349,7 @@ this.bottomStatus = 'loading'; this.bottomMethod(); } else { - this.translate = '0'; + this.translate = 0; this.bottomStatus = 'pull'; } } @@ -362,4 +362,4 @@ this.init(); } }; - \ No newline at end of file +