zhangjie %!s(int64=2) %!d(string=hai) anos
pai
achega
c13a34d42d
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      src/modules/mark/marker/MarkerMarking.vue

+ 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 });