@titaui/pc 1.15.54 → 1.15.55
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.
|
@@ -130,7 +130,9 @@ function OkrDetail(props) {
|
|
|
130
130
|
}, [props.activeTabKey]);
|
|
131
131
|
(0, _react.useEffect)(function () {
|
|
132
132
|
if (okrId && okrInfo.feedId) {
|
|
133
|
-
|
|
133
|
+
var _window$titaTracker;
|
|
134
|
+
|
|
135
|
+
window.titaTracker && ((_window$titaTracker = window.titaTracker("discoveryAction")) === null || _window$titaTracker === void 0 ? void 0 : _window$titaTracker.record({
|
|
134
136
|
"actionName": "查看okr",
|
|
135
137
|
"actionGroup": "okr推屏",
|
|
136
138
|
"productName": 'okr',
|
|
@@ -138,7 +140,7 @@ function OkrDetail(props) {
|
|
|
138
140
|
"feedId": okrInfo.feedId,
|
|
139
141
|
"action_id": 1,
|
|
140
142
|
"okr_id": okrId
|
|
141
|
-
});
|
|
143
|
+
}));
|
|
142
144
|
}
|
|
143
145
|
}, [okrId, okrInfo]);
|
|
144
146
|
|
package/lib/utils/open-data.js
CHANGED
|
@@ -103,6 +103,9 @@ function openData() {
|
|
|
103
103
|
Sentry.withScope(function (scope) {
|
|
104
104
|
scope.setTag('error-level', 'P1');
|
|
105
105
|
scope.setTag('error-type', 'openId不存在');
|
|
106
|
+
scope.setTag('fail-type', pType);
|
|
107
|
+
scope.setTag('p-id', pId);
|
|
108
|
+
scope.setTag('p-name', pName);
|
|
106
109
|
scope.setExtra('fail_type', pType);
|
|
107
110
|
scope.setExtra('p_id', pId);
|
|
108
111
|
scope.setExtra('p_name', pName);
|