增加标注

This commit is contained in:
BianLzhaoMin 2025-11-26 15:37:04 +08:00
parent 24affac448
commit 651342597b
3 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,7 @@
:is-sure="isSure" :is-sure="isSure"
@hand-click="handleHandClickFromChild" @hand-click="handleHandClickFromChild"
@confirm-results="$emit('confirm-results', $event)" @confirm-results="$emit('confirm-results', $event)"
@update-image-annotation="$emit('update-image-annotation')"
/> />
</div> </div>

View File

@ -866,6 +866,7 @@ export default {
this.$message.success('标注已提交') this.$message.success('标注已提交')
this.cancelReAnnotation() this.cancelReAnnotation()
this.imageDialogVisible = false this.imageDialogVisible = false
this.$emit('update-image-annotation')
} }
// this.$message.success('') // this.$message.success('')
// //

View File

@ -65,6 +65,7 @@
@file-change="handleFileChange" @file-change="handleFileChange"
@remove-image="removeImage" @remove-image="removeImage"
@start-upload="startUpload" @start-upload="startUpload"
@update-image-annotation="updateImageAnnotation"
/> />
</div> </div>
</div> </div>
@ -646,6 +647,10 @@ export default {
} }
}) })
}, },
updateImageAnnotation() {
this.generateTestData(this.selectedItem)
},
}, },
} }
</script> </script>