jufubao-base 1.0.107 → 1.0.108

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.107",
3
+ "version": "1.0.108",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -492,7 +492,6 @@
492
492
  if(this.poster.size) {
493
493
  this.width = this.poster.size.width;
494
494
  this.height = this.poster.size.height;
495
- if(this.isPreview) this.outOneHeight = this.height * Number(this.useNumber) + (Number(this.padding) * (Number(this.useNumber) - 1));
496
495
  }
497
496
  },
498
497
 
@@ -514,7 +513,10 @@
514
513
  ){
515
514
  this.outOneHeight = this.height * Number(res.list.length) + (Number(this.padding) * (Number(this.useNumber) - 1));
516
515
  }
517
-
516
+ //预览模式未返回广告列表
517
+ else {
518
+ this.outOneHeight = this.height * Number(this.useNumber) + (Number(this.padding) * (Number(this.useNumber) - 1));
519
+ }
518
520
  if(res.list.length === 0 && this.isPreview) {
519
521
  res.list = this.getTestData();
520
522
  }