xiaoe_mp_npm 0.5.45 → 0.5.46-alpha.2

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.
@@ -97,6 +97,7 @@ Component({
97
97
  resource_id: "",
98
98
  addressInfo: {}, // 地址信息(非自提)
99
99
  pickerUserInfo: {}, // 自提人信息
100
+ picksiteInfo:{}, //自提点信息
100
101
  hasEntityGoods: false, // 商品套餐是否包含实物商品
101
102
  superVipInfo: {}, // 超级会员信息
102
103
  businessConf: {},
@@ -765,6 +766,11 @@ Component({
765
766
  this.setData({
766
767
  pickerUserInfo: res.data.data || {}
767
768
  })
769
+ if(res.data.data.lastSelfPickInfo){
770
+ this.setData({
771
+ picksiteInfo: res.data.data.lastSelfPickInfo.place_name ? res.data.data.lastSelfPickInfo : {}
772
+ })
773
+ }
768
774
  }
769
775
  }).catch((err) => console.log(err))
770
776
  .finally(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.45",
3
+ "version": "0.5.46-alpha.2",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -97,6 +97,7 @@ Component({
97
97
  resource_id: "",
98
98
  addressInfo: {}, // 地址信息(非自提)
99
99
  pickerUserInfo: {}, // 自提人信息
100
+ picksiteInfo:{}, //自提点信息
100
101
  hasEntityGoods: false, // 商品套餐是否包含实物商品
101
102
  superVipInfo: {}, // 超级会员信息
102
103
  businessConf: {},
@@ -765,6 +766,11 @@ Component({
765
766
  this.setData({
766
767
  pickerUserInfo: res.data.data || {}
767
768
  })
769
+ if(res.data.data.lastSelfPickInfo){
770
+ this.setData({
771
+ picksiteInfo: res.data.data.lastSelfPickInfo.place_name ? res.data.data.lastSelfPickInfo : {}
772
+ })
773
+ }
768
774
  }
769
775
  }).catch((err) => console.log(err))
770
776
  .finally(() => {