diff --git a/packages/scrollbar/src/main.js b/packages/scrollbar/src/main.js index 8580927a..b5773701 100644 --- a/packages/scrollbar/src/main.js +++ b/packages/scrollbar/src/main.js @@ -123,7 +123,7 @@ export default { !this.noresize && addResizeListener(this.$refs.resize, this.update); }, - destroyed() { + beforeDestroy() { if (this.native) return; !this.noresize && removeResizeListener(this.$refs.resize, this.update); }