@fonixtree/magic-design 1.0.25 → 1.0.26

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.
@@ -211,7 +211,10 @@ function (_super) {
211
211
  onClick: function onClick() {
212
212
  /** PTO 定制GA */
213
213
  if (window.magicDesign.pushGA) {
214
- window.magicDesign.pushGA({}, 'select_promotion');
214
+ window.magicDesign.pushGA({}, 'select_promotion', {
215
+ event_label: (0, _ConfigPanel.getSecondConfigName)(data, item.id),
216
+ promotion_name: (0, _ConfigPanel.getSecondConfigName)(data, item.id)
217
+ });
215
218
  }
216
219
  },
217
220
  onMouseEnter: _this.mouseEnterWrap,
@@ -211,7 +211,10 @@ function (_super) {
211
211
  onClick: function onClick() {
212
212
  /** PTO 定制GA */
213
213
  if (window.magicDesign.pushGA) {
214
- window.magicDesign.pushGA({}, 'select_promotion');
214
+ window.magicDesign.pushGA({}, 'select_promotion', {
215
+ event_label: (0, _ConfigPanel.getSecondConfigName)(data, item.id),
216
+ promotion_name: (0, _ConfigPanel.getSecondConfigName)(data, item.id)
217
+ });
215
218
  }
216
219
  },
217
220
  onMouseEnter: _this.mouseEnterWrap,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.25",
4
+ "version": "1.0.26",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",