From 46dc5013fcce9a8dc1d630e012a98e4ec2462592 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Wed, 22 Oct 2025 13:39:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=83=8F=E8=AF=84=E4=BC=B0=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/imageCaptioning/image-captioning/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 });