Explorar el Código

首页不显示没有更多数据

曹冬冬 hace 5 años
padre
commit
225fa98047
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;