antd-management-fast-framework 1.12.47 → 1.12.48

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.
@@ -181,7 +181,7 @@ var BaseAddForm = /*#__PURE__*/function (_DataCore) {
181
181
  });
182
182
  }
183
183
 
184
- if (isFunction(afterSubmitCallback)) {
184
+ if ((0, _tools.isFunction)(afterSubmitCallback)) {
185
185
  afterSubmitCallback();
186
186
  }
187
187
  }
package/es/utils/tools.js CHANGED
@@ -1565,7 +1565,7 @@ function cloneWithoutMethod(value) {
1565
1565
  }
1566
1566
 
1567
1567
  function isFunction(value) {
1568
- return (0, _lodash.isFunction)(value);
1568
+ return (0, _typeCheck.isFunction)(value);
1569
1569
  }
1570
1570
 
1571
1571
  function isArray(value) {
@@ -2,6 +2,7 @@
2
2
  * check value is string
3
3
  */
4
4
  export function isString(value: any): boolean;
5
+ export function isFunction(value: any): boolean;
5
6
  /**
6
7
  * 判断是否是数字字符串
7
8
  *
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.empty = empty;
7
7
  exports.isArray = isArray;
8
+ exports.isFunction = isFunction;
8
9
  exports.isNumber = isNumber;
9
10
  exports.isString = isString;
10
11
 
@@ -16,6 +17,10 @@ var _lodash = require("lodash");
16
17
  function isString(value) {
17
18
  return (0, _lodash.isString)(value);
18
19
  }
20
+
21
+ function isFunction(value) {
22
+ return (0, _lodash.isFunction)(value);
23
+ }
19
24
  /**
20
25
  * 判断是否是数字字符串
21
26
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.12.47",
3
+ "version": "1.12.48",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -118,7 +118,7 @@
118
118
  "@types/randomcolor": "^0.5.6",
119
119
  "@types/react-document-title": "^2.0.5",
120
120
  "@types/uuid": "^8.3.4",
121
- "@typescript-eslint/eslint-plugin": "^5.25.0",
121
+ "@typescript-eslint/eslint-plugin": "^5.26.0",
122
122
  "@umijs/fabric": "^2.11.1",
123
123
  "@umijs/test": "^3.5.24",
124
124
  "@umijs/test-utils": "^3.5.24",
@@ -171,7 +171,7 @@
171
171
  "src/framework",
172
172
  "src/utils"
173
173
  ],
174
- "gitHead": "d2acb8f693a698606c2f2c77da37efda58a15055",
174
+ "gitHead": "d5acf8e6d0be5ebae7d42dd003c513e7a48fed3e",
175
175
  "gitHooks": {
176
176
  "pre-commit": "lint-staged"
177
177
  }