@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
- window.titaTracker && window.titaTracker("discoveryAction").record({
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
 
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.54",
3
+ "version": "1.15.55",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",