zhangjie 8 months ago
parent
commit
93c560e57f
2 changed files with 2 additions and 3 deletions
  1. BIN
      dist.zip
  2. 2 3
      src/modules/inspection/paperCheck/TaskDetail.vue

BIN
dist.zip


+ 2 - 3
src/modules/inspection/paperCheck/TaskDetail.vue

@@ -266,13 +266,12 @@ export default {
     },
     async toNextPaper() {
       if (this.curPaperIndex === this.papers.length - 1) {
-        if (this.current === this.totalPage) {
+        if (this.current >= this.totalPage) {
           this.$Message.warning("当前已经是最后一条数据了");
           return;
         } else {
-          this.setPage({ current: this.current + 1 });
+          await this.toPage(this.current + 1);
           this.curPaperIndex = 0;
-          await this.getList();
         }
       } else {
         this.curPaperIndex++;