@titaui/pc 1.10.7 → 1.10.8

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.
@@ -118,11 +118,7 @@ function _default(_ref) {
118
118
  avatar: SuperiorUser.UserAvatar
119
119
  });
120
120
  } else {
121
- setToUser({
122
- name: Name,
123
- userId: Id,
124
- avatar: UserAvatar
125
- });
121
+ setToUser({});
126
122
  }
127
123
  }
128
124
  });
@@ -2,4 +2,5 @@
2
2
  display: inline-block;
3
3
  font-size: 14px;
4
4
  line-height: 24px;
5
+ margin-right: 8px;
5
6
  }
@@ -28,10 +28,6 @@
28
28
  margin-top: 12px;
29
29
  }
30
30
 
31
- .titaui-dynamic-progress-item__status-percent {
32
- margin-left: 8px;
33
- }
34
-
35
31
  .titaui-dynamic-progress-item__object-name {
36
32
  font-size: 16px;
37
33
  color: #2879ff;
@@ -147,7 +147,7 @@ var DynamicProgress = function DynamicProgress(_ref) {
147
147
  }, (0, _utils.getDynamicTitleProps)(obj)))), /*#__PURE__*/_react["default"].createElement("div", {
148
148
  className: "".concat(prefix, "__status")
149
149
  }, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
150
- condition: obj && (obj.objType !== _constant.EObjType.Task || obj.objType !== _constant.EObjType.Project)
150
+ condition: obj && obj.objType !== _constant.EObjType.Task && obj.objType !== _constant.EObjType.Project
151
151
  }, /*#__PURE__*/_react["default"].createElement(_objStatus["default"], {
152
152
  oStatus: 1,
153
153
  riskLevel: riskLevel,
@@ -345,11 +345,7 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
345
345
  avatar: SuperiorUser.UserAvatar
346
346
  });
347
347
  } else {
348
- setToUser({
349
- name: Name,
350
- userId: Id,
351
- avatar: UserAvatar
352
- });
348
+ setToUser({});
353
349
  }
354
350
 
355
351
  parenOkrtRef.current && parenOkrtRef.current.show(document.body, 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.7",
3
+ "version": "1.10.8",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",