diff --git a/src/views/imageCaptioning/image-captioning/index.vue b/src/views/imageCaptioning/image-captioning/index.vue index c4f9988..2168b43 100644 --- a/src/views/imageCaptioning/image-captioning/index.vue +++ b/src/views/imageCaptioning/image-captioning/index.vue @@ -236,7 +236,8 @@ export default { recognizedCount: record.bzNum || 0, unrecognizedCount: record.wbzNum || 0, isSure: record.isSure, - operId: record.id + operId: record.operaId, + id: record.id, })); // 初始化选中状态 - 根据 isActive 字段 this.initializeSelectedImages(records); @@ -513,7 +514,7 @@ export default { if (selectedInfo.length === 0) { // this.$message.warning('请至少选择一张图片'); // return; - this.handleConfirm(this.addId,"",id ); + this.handleConfirm(this.addId,null,id ); }else{ // 获取图片ID数组 const imageIds = selectedInfo.map(item => item.imageId); @@ -533,7 +534,7 @@ export default { try { // 调用后端接口 const res = await updateImageSureAPI({ - operId: operId, + operaId: operId, imageId:imageIds, id:id });