增加标注
This commit is contained in:
parent
24affac448
commit
651342597b
|
|
@ -10,6 +10,7 @@
|
|||
:is-sure="isSure"
|
||||
@hand-click="handleHandClickFromChild"
|
||||
@confirm-results="$emit('confirm-results', $event)"
|
||||
@update-image-annotation="$emit('update-image-annotation')"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -866,6 +866,7 @@ export default {
|
|||
this.$message.success('标注已提交')
|
||||
this.cancelReAnnotation()
|
||||
this.imageDialogVisible = false
|
||||
this.$emit('update-image-annotation')
|
||||
}
|
||||
// this.$message.success('标注已提交')
|
||||
// 重置状态
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@
|
|||
@file-change="handleFileChange"
|
||||
@remove-image="removeImage"
|
||||
@start-upload="startUpload"
|
||||
@update-image-annotation="updateImageAnnotation"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -646,6 +647,10 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
updateImageAnnotation() {
|
||||
this.generateTestData(this.selectedItem)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue