xiaoe_mp_npm 0.5.21 → 0.5.22

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.
@@ -52,7 +52,7 @@ Component({
52
52
  * @description: 信息采集提交成功后的回调函数
53
53
  * @param {Object} val 信息提交后台返回的特定id
54
54
  */
55
- onSaveInfoCollection(val) {
55
+ onSaveInfoCollection(val,information_source_id) {
56
56
  const ids = val.detail;
57
57
  // ids 不为空对象,保存到 payParams
58
58
  let idsArr = [];
@@ -69,7 +69,8 @@ Component({
69
69
  payParams: {
70
70
  extend_attr: {
71
71
  infoCollectId
72
- }
72
+ },
73
+ information_source_id
73
74
  }
74
75
  }
75
76
  this.triggerEvent('dataChange', data)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.21",
3
+ "version": "0.5.22",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -73,6 +73,6 @@
73
73
  "@vant/weapp": "^1.9.2",
74
74
  "live-mp-tools": "1.2.4",
75
75
  "miniprogram-computed": "4.2.1",
76
- "mp-plugins-info-collection": "1.0.10-t0411"
76
+ "mp-plugins-info-collection": "1.1.1"
77
77
  }
78
78
  }
@@ -52,7 +52,7 @@ Component({
52
52
  * @description: 信息采集提交成功后的回调函数
53
53
  * @param {Object} val 信息提交后台返回的特定id
54
54
  */
55
- onSaveInfoCollection(val) {
55
+ onSaveInfoCollection(val,information_source_id) {
56
56
  const ids = val.detail;
57
57
  // ids 不为空对象,保存到 payParams
58
58
  let idsArr = [];
@@ -69,7 +69,8 @@ Component({
69
69
  payParams: {
70
70
  extend_attr: {
71
71
  infoCollectId
72
- }
72
+ },
73
+ information_source_id
73
74
  }
74
75
  }
75
76
  this.triggerEvent('dataChange', data)