bug修改
This commit is contained in:
parent
82370d687c
commit
6d23f08740
|
|
@ -557,7 +557,7 @@ export default {
|
|||
|
||||
nextImage1() {
|
||||
if (this.currentImageIndex <= this.imageList.length - 1) {
|
||||
this.switchImage(this.currentImageIndex + 1);
|
||||
this.switchImage(this.currentImageIndex);
|
||||
} else {
|
||||
this.$message.info('已是最后一张!')
|
||||
this.$router.push({
|
||||
|
|
@ -641,7 +641,7 @@ export default {
|
|||
this.$message.success(auditStatus === 1 ? '审核通过提交成功!' : '审核不通过提交成功!');
|
||||
// 自动切换到下一张(如果有)
|
||||
if (this.currentImageIndex < this.imageList.length - 1) {
|
||||
await this.loadAuditImages();
|
||||
await this.loadImageDetailList();
|
||||
this.nextImage1();
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1209,7 +1209,7 @@ export default {
|
|||
this.$message.success('OCR标注保存成功!');
|
||||
this.currentImage.isInvalid = this.isInvalidData;
|
||||
this.imageList[this.currentImageIndex] = this.currentImage;
|
||||
await this.loadTreeData();
|
||||
await this.loadImageList();
|
||||
return Promise.resolve(res);
|
||||
} else {
|
||||
const errorMsg = '保存失败:' + (res.msg || '接口异常');
|
||||
|
|
|
|||
Loading…
Reference in New Issue