@titaui/pc 1.15.21 → 1.15.22
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.
|
@@ -176,7 +176,7 @@ var _default = function _default() {
|
|
|
176
176
|
deWeightData[item.id] = item;
|
|
177
177
|
});
|
|
178
178
|
var result = Object.values(deWeightData);
|
|
179
|
-
setRawTreeData(
|
|
179
|
+
setRawTreeData([].concat(result));
|
|
180
180
|
setTreeData((0, _utils.toTree)(rawTreeData));
|
|
181
181
|
resolve(true);
|
|
182
182
|
});
|
|
@@ -172,13 +172,29 @@ var NavTop = function NavTop() {
|
|
|
172
172
|
window.WeixinJSBridge.invoke('openAppManage', {}, function (res) {
|
|
173
173
|
console.log(res.err_msg);
|
|
174
174
|
|
|
175
|
-
if (res.err_msg == 'openAppManage:ok') {
|
|
175
|
+
if (res.err_msg == 'openAppManage:ok') {
|
|
176
|
+
// 调用成功
|
|
177
|
+
if (window.titaTracker) {
|
|
178
|
+
window.titaTracker("action").record({
|
|
179
|
+
productName: "邀请同事",
|
|
180
|
+
actionGroup: "PC",
|
|
181
|
+
actionName: "\u7BA1\u7406\u5458\u70B9\u51FB\u5E76\u8FDB\u5165\u4F01\u4E1A\u5FAE\u4FE1\u540E\u53F0"
|
|
182
|
+
});
|
|
183
|
+
}
|
|
176
184
|
} else {
|
|
177
185
|
if (!inviteVisible) {
|
|
178
186
|
setInviteVisible(true);
|
|
179
187
|
}
|
|
180
188
|
|
|
181
189
|
setInviteAuth(false);
|
|
190
|
+
|
|
191
|
+
if (window.titaTracker) {
|
|
192
|
+
window.titaTracker("action").record({
|
|
193
|
+
productName: "邀请同事",
|
|
194
|
+
actionGroup: "PC",
|
|
195
|
+
actionName: "\u7BA1\u7406\u5458\u70B9\u51FB\u8FDB\u5165\u4F01\u4E1A\u5FAE\u4FE1\u540E\u53F0\u663E\u793A\u6CA1\u6743\u9650"
|
|
196
|
+
});
|
|
197
|
+
}
|
|
182
198
|
}
|
|
183
199
|
});
|
|
184
200
|
}
|
|
@@ -203,6 +219,14 @@ var NavTop = function NavTop() {
|
|
|
203
219
|
});
|
|
204
220
|
} else {// console.log(res);
|
|
205
221
|
}
|
|
222
|
+
|
|
223
|
+
if (window.titaTracker) {
|
|
224
|
+
window.titaTracker("action").record({
|
|
225
|
+
productName: "邀请同事",
|
|
226
|
+
actionGroup: "PC",
|
|
227
|
+
actionName: "\u666E\u901A\u5458\u5DE5\u81EA\u5EFA\u5E94\u7528\u9080\u8BF7\u540C\u4E8B"
|
|
228
|
+
});
|
|
229
|
+
}
|
|
206
230
|
});
|
|
207
231
|
}
|
|
208
232
|
}, []);
|
|
@@ -102,6 +102,8 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
102
102
|
searchWord = _props$searchWord === void 0 ? '' : _props$searchWord,
|
|
103
103
|
_props$showSearchInpu = props.showSearchInput,
|
|
104
104
|
showSearchInput = _props$showSearchInpu === void 0 ? true : _props$showSearchInpu,
|
|
105
|
+
_props$noText = props.noText,
|
|
106
|
+
noText = _props$noText === void 0 ? false : _props$noText,
|
|
105
107
|
getPopupContainer = props.getPopupContainer,
|
|
106
108
|
_props$popupAlign = props.popupAlign,
|
|
107
109
|
popupAlign = _props$popupAlign === void 0 ? {
|
|
@@ -276,8 +278,10 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
276
278
|
|
|
277
279
|
var text = texts.join('、'); // if (!text) text = placeholder;
|
|
278
280
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
+
if (!noText) {
|
|
282
|
+
setSelectedText(text);
|
|
283
|
+
setJsxDomValues(jsxDomValues);
|
|
284
|
+
}
|
|
281
285
|
};
|
|
282
286
|
|
|
283
287
|
var onCancelHandler = function onCancelHandler() {
|