@hw-component/form 1.10.66 → 1.10.67

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.
@@ -94,7 +94,7 @@ var useModifyProps = function useModifyProps(_ref) {
94
94
  }
95
95
  setModalVisible(false);
96
96
  };
97
- }, [afterClose, autoClear]);
97
+ }, [afterClose, autoClear, onCancel]);
98
98
  dialogForm.getParams = function () {
99
99
  return formParams || {};
100
100
  };
@@ -95,7 +95,7 @@ var useModifyProps = function useModifyProps(_ref) {
95
95
  }
96
96
  setModalVisible(false);
97
97
  };
98
- }, [afterClose, autoClear]);
98
+ }, [afterClose, autoClear, onCancel]);
99
99
  dialogForm.getParams = function () {
100
100
  return formParams || {};
101
101
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "1.10.66",
3
+ "version": "1.10.67",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -80,7 +80,7 @@ export const useModifyProps = ({
80
80
  }
81
81
  setModalVisible(false);
82
82
  };
83
- }, [afterClose, autoClear]);
83
+ }, [afterClose, autoClear,onCancel]);
84
84
 
85
85
  dialogForm.getParams = () => {
86
86
  return (formParams as Record<string, any>) || {};