src/pages/labelMark/components/RightSide.vue
@@ -366,7 +366,6 @@ if (this.isShowPop) return; //获取鼠标相对于画板的定位 console.log('获取当前定位信息'); //this.$refs['labelForm'].clearValidate(); this.$refs['labelForm'].resetFields(); let target = { id: '', @@ -378,7 +377,6 @@ target.id = 'n'+(this.curCameraData.coords.length-1); //this.labels.push(target); this.curCameraData.coords.push(target); //this.curLabel = JSON.parse(JSON.stringify(target)); this.curLabel = target; this.isShowPop = true; this.isNewLabel = true;