xiaoe_mp_npm 0.5.44-test13 → 0.5.44-test15

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.
@@ -49,7 +49,6 @@
49
49
  ></ChoosePicker>
50
50
  <!-- 商品信息 -->
51
51
  <GoodsInfo
52
- prePayInfo="{{prePayInfo}}"
53
52
  marketingData="{{ marketingData.marketing_info }}"
54
53
  goodsInfo="{{ goodsInfo }}"
55
54
  confirmOrderInfo="{{ confirmOrderInfo }}"
@@ -392,7 +392,6 @@ Component({
392
392
  },
393
393
  // init 是否初次触发
394
394
  countBlur(init) {
395
- console.log('init',init)
396
395
  if (this.data.count === this.data.goodsCount && init !== true) {
397
396
  return false;
398
397
  }
@@ -36,7 +36,7 @@ Component({
36
36
  console.log('this.changeCouponId(this.data.chooseCouponList)',this.changeCouponId(this.data.chooseCouponList))
37
37
  console.log('oldChooseCouponList',res)
38
38
  if(JSON.stringify(this.changeCouponId(this.data.chooseCouponList)) != res.data ){
39
- this.setPricingInfo(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
39
+ this.setPricingInfoFirst(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
40
40
  }
41
41
  }
42
42
  })
@@ -44,7 +44,7 @@ Component({
44
44
  key: 'oldUsedPromoCode',
45
45
  success : (res)=> {
46
46
  if(this.data.usedPromoCode != res.data ){
47
- this.setPricingInfo(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
47
+ this.setPricingInfoFirst(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
48
48
  }
49
49
  }
50
50
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.44-test13",
3
+ "version": "0.5.44-test15",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -49,7 +49,6 @@
49
49
  ></ChoosePicker>
50
50
  <!-- 商品信息 -->
51
51
  <GoodsInfo
52
- prePayInfo="{{prePayInfo}}"
53
52
  marketingData="{{ marketingData.marketing_info }}"
54
53
  goodsInfo="{{ goodsInfo }}"
55
54
  confirmOrderInfo="{{ confirmOrderInfo }}"
@@ -392,7 +392,6 @@ Component({
392
392
  },
393
393
  // init 是否初次触发
394
394
  countBlur(init) {
395
- console.log('init',init)
396
395
  if (this.data.count === this.data.goodsCount && init !== true) {
397
396
  return false;
398
397
  }
@@ -36,7 +36,7 @@ Component({
36
36
  console.log('this.changeCouponId(this.data.chooseCouponList)',this.changeCouponId(this.data.chooseCouponList))
37
37
  console.log('oldChooseCouponList',res)
38
38
  if(JSON.stringify(this.changeCouponId(this.data.chooseCouponList)) != res.data ){
39
- this.setPricingInfo(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
39
+ this.setPricingInfoFirst(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
40
40
  }
41
41
  }
42
42
  })
@@ -44,7 +44,7 @@ Component({
44
44
  key: 'oldUsedPromoCode',
45
45
  success : (res)=> {
46
46
  if(this.data.usedPromoCode != res.data ){
47
- this.setPricingInfo(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
47
+ this.setPricingInfoFirst(this.changeCouponId(this.data.chooseCouponList), this.data.usedPromoCode)
48
48
  }
49
49
  }
50
50
  })