@fonixtree/magic-design 1.0.25 → 1.0.27
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,11 @@ 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
|
+
promotion_id: item.id
|
|
218
|
+
});
|
|
215
219
|
}
|
|
216
220
|
},
|
|
217
221
|
onMouseEnter: _this.mouseEnterWrap,
|
|
@@ -211,7 +211,11 @@ 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
|
+
promotion_id: item.id
|
|
218
|
+
});
|
|
215
219
|
}
|
|
216
220
|
},
|
|
217
221
|
onMouseEnter: _this.mouseEnterWrap,
|