@titaui/pc 1.15.68-beta.1 → 1.15.68-beta.2
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.
|
@@ -54,7 +54,6 @@ function _default(props) {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
-
if ((user === null || user === void 0 ? void 0 : user.jobState) === 0) return;
|
|
58
57
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
59
58
|
title: "",
|
|
60
59
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__user-node")),
|
|
@@ -255,14 +255,17 @@ var summaryMenus = /*#__PURE__*/function () {
|
|
|
255
255
|
|
|
256
256
|
for (var i = 0; i < users.length; i++) {
|
|
257
257
|
var user = users[i];
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
258
|
+
|
|
259
|
+
if (user.jobState === 1) {
|
|
260
|
+
treeNodeUsers.push({
|
|
261
|
+
icon: "",
|
|
262
|
+
label: user.name,
|
|
263
|
+
key: "".concat(user.userId),
|
|
264
|
+
type: _index.USER_NODE,
|
|
265
|
+
href: "",
|
|
266
|
+
data: user
|
|
267
|
+
});
|
|
268
|
+
}
|
|
266
269
|
}
|
|
267
270
|
|
|
268
271
|
this.menus[4].children = treeNodeUsers;
|