@titaui/pc 1.15.31 → 1.15.32
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.
|
@@ -160,6 +160,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
160
160
|
departmentName = _ref3.departmentName,
|
|
161
161
|
departmentId = _ref3.departmentId;
|
|
162
162
|
|
|
163
|
+
console.log('users', users);
|
|
163
164
|
var departmentsRender = (0, _react.useMemo)(function () {
|
|
164
165
|
return (departments === null || departments === void 0 ? void 0 : departments.length) !== 0 && departments.map(function (item, index) {
|
|
165
166
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_openData.OpenDepartmentName, {
|
|
@@ -172,7 +173,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
172
173
|
return (users === null || users === void 0 ? void 0 : users.length) !== 0 && users.map(function (item, index) {
|
|
173
174
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
174
175
|
name: item.name,
|
|
175
|
-
id: item.
|
|
176
|
+
id: item.userId
|
|
176
177
|
}), /*#__PURE__*/_react["default"].createElement("span", null, ","));
|
|
177
178
|
});
|
|
178
179
|
}, [users]);
|