src/views/tms/WarehouseTree.vue
@@ -295,11 +295,9 @@ }, mounted() { this.$bus.$on('queryTreeData', this.queryTreeData); this.$bus.$on('clearTreeSelection', this.onClearSelected) }, beforeDestroy() { this.$bus.$off('queryTreeData', this.queryTreeData); this.$bus.$off('clearTreeSelection', this.onClearSelected) }, //监听 watch: {