jufubao-base 1.0.63-beta3 → 1.0.63-beta5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.63-beta3",
3
+ "version": "1.0.63-beta5",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -10,7 +10,7 @@ export default {
10
10
  cardOrgList:[], //原始数据
11
11
  cardList:null, //计算后的卡列表
12
12
  cardPageNum: 0, //当前页面
13
- cardPageLen: 5, //每页获取数据调试
13
+ cardPageLen: 10, //每页获取数据调试
14
14
  cardComputedList:[], //当前获取的数据列表
15
15
  cardLoading: false, //加载状态值设置
16
16
  cardNextTop: 0, //计算到每一个节点的距离顶部Top值
@@ -102,6 +102,9 @@ export default {
102
102
  this.cardPageNum*this.cardPageLen,
103
103
  this.cardPageNum*this.cardPageLen + this.cardPageLen
104
104
  );
105
+ if(this.cardComputedList.length < this.cardPageLen) {
106
+ this.hasContent = false;
107
+ }
105
108
  this.handleCardComputed(paddingBottom).then().catch();
106
109
  },
107
110