@ubrorg/card
Advanced tools
Comparing version 0.7.0-beta.1 to 0.7.0-beta.2
@@ -122,8 +122,9 @@ function qs(params) { | ||
projectName = _this$props3.projectName, | ||
projectTypeName = _this$props3.projectTypeName; | ||
projectTypeName = _this$props3.projectTypeName, | ||
dataItem = _this$props3.dataItem; | ||
this.$page.open("/pages/detail/detail?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
this.$page.record('Um_Event_PageView', { | ||
Um_Key_ContentName: projectName, | ||
Um_Key_ContentID: contentDetailId, | ||
Um_Key_ContentCategory: projectTypeName | ||
Um_Key_ContentName: projectName || dataItem.projectName, | ||
Um_Key_ContentID: id, | ||
Um_Key_ContentCategory: projectTypeName || dataItem.projectTypeName | ||
}); | ||
@@ -135,2 +136,6 @@ }, | ||
type = _e$target$dataset2.type; | ||
var _this$props4 = this.props, | ||
projectName = _this$props4.projectName, | ||
projectTypeName = _this$props4.projectTypeName, | ||
dataItem = _this$props4.dataItem; | ||
@@ -140,5 +145,5 @@ if (type) { | ||
this.$page.record('Um_Event_PageView', { | ||
Um_Key_ContentName: projectName, | ||
Um_Key_ContentName: projectName || dataItem.projectName, | ||
Um_Key_ContentID: id, | ||
Um_Key_ContentCategory: projectTypeName | ||
Um_Key_ContentCategory: projectTypeName || dataItem.projectTypeName | ||
}); | ||
@@ -145,0 +150,0 @@ } |
{ | ||
"name": "@ubrorg/card", | ||
"version": "0.7.0-beta.1", | ||
"version": "0.7.0-beta.2", | ||
"description": "card", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
19023
152