bug修改
This commit is contained in:
parent
82370d687c
commit
6d23f08740
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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 || '接口异常');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue