@titaui/pc 1.12.4-beta.5 → 1.12.6

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.
@@ -107,7 +107,7 @@
107
107
  top: 3px;
108
108
  color: #89919f;
109
109
  cursor: auto;
110
- width: 68px;
110
+ width: 72px;
111
111
  margin-left: 20px;
112
112
  }
113
113
 
@@ -263,7 +263,7 @@
263
263
  top: 3px;
264
264
  color: #89919f;
265
265
  cursor: auto;
266
- width: 68px;
266
+ width: 72px;
267
267
  margin-left: 20px;
268
268
  }
269
269
 
@@ -37,8 +37,6 @@ var _requestApi = require("../request-api");
37
37
 
38
38
  var _getLocale = require("../../../utils/getLocale");
39
39
 
40
- var _tools = require("../../../utils/tools");
41
-
42
40
  require("./index.css");
43
41
 
44
42
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -235,7 +233,7 @@ function Header(props, ref) {
235
233
  userInfo: userInfo
236
234
  }), /*#__PURE__*/_react["default"].createElement(_filter["default"], {
237
235
  onSearch: onSearch
238
- }), Number(cycleType) !== -1 && (Number(relation) === 1 || Object.keys((0, _tools.getQueryString)()).length === 0) && /*#__PURE__*/_react["default"].createElement(_operateRecord["default"], {
236
+ }), Number(cycleType) !== -1 && Number(relation) !== 2 && Number(relation) !== 3 && departmentId === undefined && /*#__PURE__*/_react["default"].createElement(_operateRecord["default"], {
239
237
  toUserId: toUserId,
240
238
  userInfo: userInfo,
241
239
  relation: relationShip,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.4-beta.5",
3
+ "version": "1.12.6",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",