-
- ↓
-
-
-
-
+
+
Options
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Methods
+
+
+
+
+
+
+
-
-
+
+
+
diff --git a/src/components/scroll/scroll.vue b/src/components/scroll/scroll.vue
index 02e44bc51..0b3a8838e 100644
--- a/src/components/scroll/scroll.vue
+++ b/src/components/scroll/scroll.vue
@@ -128,11 +128,11 @@
},
mounted() {
setTimeout(() => {
- this._initScroll()
+ this.initScroll()
}, 20)
},
methods: {
- _initScroll() {
+ initScroll() {
if (!this.$refs.wrapper) {
return
}
@@ -181,6 +181,9 @@
refresh() {
this.scroll && this.scroll.refresh()
},
+ destroy() {
+ this.scroll.destroy()
+ },
scrollTo() {
this.scroll && this.scroll.scrollTo.apply(this.scroll, arguments)
},