fixed Tabs bug

This commit is contained in:
梁灏 2017-11-14 09:53:58 +08:00
parent 7b0fb4ef9b
commit 9b6f316e47
2 changed files with 10 additions and 24 deletions

View file

@ -354,7 +354,7 @@
},
beforeDestroy() {
this.observer.removeListener(this.$refs.navWrap, this.handleResize);
this.mutationObserver.disconnect();
if (this.mutationObserver) this.mutationObserver.disconnect();
}
};
</script>