Browse Source

首页不显示没有更多数据

曹冬冬 5 years ago
parent
commit
225fa98047
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/myHistoryTest/myHistoryTest.js

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

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