Commit aa635583 authored by cinwell.li's avatar cinwell.li Committed by baiyaaaaa

Scrollbar: compatible with vue 2.2.6, fixed #3797 (#3845)

parent 8fa78ac4
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
!this.noresize && addResizeListener(this.$refs.resize, this.update); !this.noresize && addResizeListener(this.$refs.resize, this.update);
}, },
destroyed() { beforeDestroy() {
if (this.native) return; if (this.native) return;
!this.noresize && removeResizeListener(this.$refs.resize, this.update); !this.noresize && removeResizeListener(this.$refs.resize, this.update);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment