src/components/canvas/index.vue
@@ -169,6 +169,9 @@ methods: { // 获取canvas底图 async getCanvasPic() { if (this.TreeDataPool.selectedNode.type == "MENU") { return } // this.$emit('changeBaseImg',this.currentCameraId) this.$emit("changeLoading", true) if (this.currentCameraId) { @@ -218,10 +221,10 @@ }) return } this.$notify({ type: "success", message: "已保存绘制!" }) // this.$notify({ // type: "success", // message: "已保存绘制!" // }) // 每次保存关闭模态窗时都要把模态窗的数据写到父组件里来 this.canvasData = this.$refs.bigCanvas.canvasData // 顺便甩到更外层去