@titaui/pc 1.7.42 → 1.7.46

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.
@@ -60,7 +60,7 @@ var clearInforms = function clearInforms() {
60
60
  exports.clearInforms = clearInforms;
61
61
 
62
62
  var clearReplys = function clearReplys() {
63
- return (0, _request.rdelete)("v1")("Indicator/Clear?message_type=0&indicator_type=17");
63
+ return (0, _request.rdelete)("v1")("Indicator/Clear?message_type=0&indicator_type=mLeaveandComment");
64
64
  };
65
65
 
66
66
  exports.clearReplys = clearReplys;
@@ -197,7 +197,7 @@ function WeeklyReportModal(_ref4) {
197
197
  }
198
198
 
199
199
  if (visible) {
200
- (0, _request.rdelete)('v1')('Indicator/Clear?message_type=0&indicator_type=15');
200
+ (0, _request.rdelete)('v1')('Indicator/Clear?message_type=0&indicator_type=mWeekStatisticIndicator');
201
201
  }
202
202
  }, [visible]);
203
203
  if (!data) return null;
@@ -52,8 +52,11 @@ var KeywordSearch = function KeywordSearch(props) {
52
52
 
53
53
  var handleSearchClick = function handleSearchClick() {
54
54
  if (!active) {
55
- setActive(true);
56
- inputRef.current.focus();
55
+ var _inputRef$current;
56
+
57
+ setActive(true); //@ts-ignore
58
+
59
+ inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
57
60
  } else {
58
61
  handleSearch();
59
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.7.42",
3
+ "version": "1.7.46",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",