Bläddra i källkod

首页不显示没有更多数据

曹冬冬 5 år sedan
förälder
incheckning
225fa98047
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/views/myHistoryTest/myHistoryTest.js

+ 2 - 1
src/views/myHistoryTest/myHistoryTest.js

@@ -45,7 +45,8 @@ export default {
   },
   },
   computed: {
   computed: {
     noMore() {
     noMore() {
-      return this.pageNo > this.total;
+      console.log("SSSS", this.pageNo, this.total);
+      return this.pageNo > this.total && this.pageNo > 2;
     },
     },
     disabled() {
     disabled() {
       return this.loading || this.noMore;
       return this.loading || this.noMore;