zhangjie 2 年之前
父節點
當前提交
c13a34d42d
共有 1 個文件被更改,包括 7 次插入0 次删除
  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 });