zhangjie 2 жил өмнө
parent
commit
c13a34d42d

+ 7 - 0
src/modules/mark/marker/MarkerMarking.vue

@@ -472,6 +472,13 @@ export default {
       this.selectPaper(this.curPaperIndex);
     },
     async toActionNextPaper(toNext) {
+      if (
+        this.curPaperIndex === this.papers.length - 1 &&
+        this.page.current === this.page.totalPage
+      ) {
+        this.$Message.warning("当前已经是最后一条数据了");
+      }
+
       let curPaperIndex = toNext ? this.curPaperIndex + 1 : this.curPaperIndex;
       if (this.page.current > 1 && this.papers.length === 1) {
         this.setPage({ current: this.page.current - 1 });