@zgfe/modules-event 1.0.29-zhongyuanE.6 → 1.0.29-zhongyuanE.7

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.
@@ -65,7 +65,8 @@ var EventContent = /*#__PURE__*/React.forwardRef(function (props, ref) {
65
65
  first = _useState10[0],
66
66
  setFirst = _useState10[1];
67
67
  var _useContext3 = useContext(BizTargetFromPanelContext),
68
- handleSearch = _useContext3.handleSearch;
68
+ handleSearch = _useContext3.handleSearch,
69
+ disabled = _useContext3.disabled;
69
70
  var topPanelRef = useRef();
70
71
  useImperativeHandle(ref, function () {
71
72
  return {
@@ -105,6 +106,7 @@ var EventContent = /*#__PURE__*/React.forwardRef(function (props, ref) {
105
106
  };
106
107
  }, [searchData]);
107
108
  useEffect(function () {
109
+ if (disabled) return;
108
110
  handleSearch && handleSearch(loading);
109
111
  }, [loading]);
110
112
  useEffect(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-event",
3
- "version": "1.0.29-zhongyuanE.6",
3
+ "version": "1.0.29-zhongyuanE.7",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "private": false,
@@ -54,7 +54,7 @@
54
54
  "react": "^16.12.0 || ^17.0.0",
55
55
  "yorkie": "^2.0.0"
56
56
  },
57
- "gitHead": "0f6e60b79948f4c366c8d455559f8d3dcda9b4a4",
57
+ "gitHead": "245784a034043cba9041692adb5d17fe87a27c83",
58
58
  "gitHooks": {
59
59
  "pre-commit": "lint-staged"
60
60
  }