增加标注
This commit is contained in:
parent
24affac448
commit
651342597b
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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('标注已提交')
|
||||||
// 重置状态
|
// 重置状态
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue