bug修改

This commit is contained in:
LHD_HY 2026-02-06 09:23:44 +08:00
parent 82370d687c
commit 6d23f08740
2 changed files with 3 additions and 3 deletions

View File

@ -557,7 +557,7 @@ export default {
nextImage1() { nextImage1() {
if (this.currentImageIndex <= this.imageList.length - 1) { if (this.currentImageIndex <= this.imageList.length - 1) {
this.switchImage(this.currentImageIndex + 1); this.switchImage(this.currentImageIndex);
} else { } else {
this.$message.info('已是最后一张!') this.$message.info('已是最后一张!')
this.$router.push({ this.$router.push({
@ -641,7 +641,7 @@ export default {
this.$message.success(auditStatus === 1 ? '审核通过提交成功!' : '审核不通过提交成功!'); this.$message.success(auditStatus === 1 ? '审核通过提交成功!' : '审核不通过提交成功!');
// //
if (this.currentImageIndex < this.imageList.length - 1) { if (this.currentImageIndex < this.imageList.length - 1) {
await this.loadAuditImages(); await this.loadImageDetailList();
this.nextImage1(); this.nextImage1();
} }
} else { } else {

View File

@ -1209,7 +1209,7 @@ export default {
this.$message.success('OCR标注保存成功'); this.$message.success('OCR标注保存成功');
this.currentImage.isInvalid = this.isInvalidData; this.currentImage.isInvalid = this.isInvalidData;
this.imageList[this.currentImageIndex] = this.currentImage; this.imageList[this.currentImageIndex] = this.currentImage;
await this.loadTreeData(); await this.loadImageList();
return Promise.resolve(res); return Promise.resolve(res);
} else { } else {
const errorMsg = '保存失败:' + (res.msg || '接口异常'); const errorMsg = '保存失败:' + (res.msg || '接口异常');