| | |
| | | // import fTemplate from "@/components/common/fTemplate"; |
| | | // import localSeparate from "@/components/camera/localSeparate"; |
| | | |
| | | //import bus from "@/main"; |
| | | import bus from "@/plugin/bus"; |
| | | //import TreeDataPool from "@/Pool/TreeData"; |
| | | |
| | | export default { |
| | |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | | // bus.$on("addCameraOnTree", node => { |
| | | // this.handAddDevice(node); |
| | | // }); |
| | | // bus.$on("addDirOnTree", node => { |
| | | // this.handAddDIr(node); |
| | | // }); |
| | | // this.TreeDataPool.clean(); |
| | | bus.$on("addCameraOnTree", node => { |
| | | this.handAddDevice(node); |
| | | }); |
| | | bus.$on("addDirOnTree", node => { |
| | | this.handAddDIr(node); |
| | | }); |
| | | this.TreeDataPool.clean(); |
| | | }); |
| | | |
| | | let _this = this |
| | |
| | | } |
| | | } |
| | | .el-tabs__header { |
| | | |
| | | .is-active { |
| | | color: #3d68e1 !important; |
| | | } |