zhangjie 8 bulan lalu
induk
melakukan
93c560e57f
2 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. TEMPAT SAMPAH
      dist.zip
  2. 2 3
      src/modules/inspection/paperCheck/TaskDetail.vue

TEMPAT SAMPAH
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++;