mirror of https://github.com/ElemeFE/element
parent
8fa78ac413
commit
aa63558340
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue