jufubao-base 1.0.64-beta303 → 1.0.64-beta304

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.64-beta303",
3
+ "version": "1.0.64-beta304",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -297,6 +297,9 @@
297
297
  this.init(this.container);
298
298
  this.isPreview = this.$configProject.isPreview;
299
299
  },
300
+ destroyed() {
301
+ this.$xdRoot.$emit('setLayoutPageBg',null)
302
+ },
300
303
  methods: {
301
304
  getTestData(){
302
305
  let temp = [];
@@ -382,7 +385,6 @@
382
385
  this.$xdRoot.$emit("setLayoutPageBg", this.currentImage);
383
386
  }
384
387
  },
385
-
386
388
  getDefualtValue(key){
387
389
  if (key === 'margin') {
388
390
  return {top: 0, bottom: 0, left: 0, right: 0}
@@ -447,10 +449,6 @@
447
449
  })
448
450
  },
449
451
 
450
- destroyed() {
451
- this.$xdRoot.$emit('setLayoutPageBg',null)
452
- },
453
-
454
452
  onJfbShow(){
455
453
  if(this.isSupport==='Y' && this.rows===1 && this.isCarousel===2) {
456
454
  this.$xdRoot.$emit("setLayoutPageBg", this.currentImage);
@@ -460,8 +458,6 @@
460
458
  onJfbUpdate(data) {
461
459
  this.onJfbLoad(this.params);
462
460
  }
463
-
464
-
465
461
  }
466
462
  }
467
463