@titaui/pc 1.11.56 → 1.11.60
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.
|
@@ -46,7 +46,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
46
46
|
var preCls = "contact-kefu";
|
|
47
47
|
|
|
48
48
|
var ContactKefu = function ContactKefu() {
|
|
49
|
-
var _window$BSGlobal, _window$BSGlobal$tena, _window$BSGlobal2, _window$BSGlobal2$ten;
|
|
49
|
+
var _window$BSGlobal, _window$BSGlobal$tena, _window$BSGlobal2, _window$BSGlobal2$ten, _classNames;
|
|
50
50
|
|
|
51
51
|
var _useState = (0, _react.useState)(false),
|
|
52
52
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -97,7 +97,7 @@ var ContactKefu = function ContactKefu() {
|
|
|
97
97
|
offset: [0, 0]
|
|
98
98
|
}
|
|
99
99
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
|
-
className: (0, _classnames["default"])("".concat(preCls, "__kefu"),
|
|
100
|
+
className: (0, _classnames["default"])("".concat(preCls, "__kefu"), (_classNames = {}, _defineProperty(_classNames, "".concat(preCls, "__try-kefu"), isTrial), _defineProperty(_classNames, "".concat(preCls, "__hidden"), visible), _classNames)),
|
|
101
101
|
onClick: handleShowCode
|
|
102
102
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
103
|
className: (0, _classnames["default"])(_defineProperty({}, "".concat(preCls, "__cancel"), visible))
|
|
@@ -142,7 +142,7 @@ var TaskTree = function TaskTree(_ref) {
|
|
|
142
142
|
style: scrollStyle,
|
|
143
143
|
maskHeight: 16
|
|
144
144
|
}, data.map(function (item) {
|
|
145
|
-
var _item$principalUser, _item$principalUser2, _item$principalUser3
|
|
145
|
+
var _item$principalUser, _item$principalUser2, _item$principalUser3;
|
|
146
146
|
|
|
147
147
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
148
|
className: "".concat(preCls, "__content-item"),
|
|
@@ -172,7 +172,7 @@ var TaskTree = function TaskTree(_ref) {
|
|
|
172
172
|
maxWidth: 60,
|
|
173
173
|
text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
174
174
|
name: (item === null || item === void 0 ? void 0 : (_item$principalUser = item.principalUser) === null || _item$principalUser === void 0 ? void 0 : _item$principalUser.name) || (item === null || item === void 0 ? void 0 : (_item$principalUser2 = item.principalUser) === null || _item$principalUser2 === void 0 ? void 0 : _item$principalUser2.Name),
|
|
175
|
-
id:
|
|
175
|
+
id: item === null || item === void 0 ? void 0 : (_item$principalUser3 = item.principalUser) === null || _item$principalUser3 === void 0 ? void 0 : _item$principalUser3.userId
|
|
176
176
|
})
|
|
177
177
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
178
178
|
className: "".concat(preCls, "__content-item-time")
|