@ahooksjs/use-form-table
Advanced tools
Comparing version 0.2.4 to 0.2.5-alpha.0
@@ -62,3 +62,4 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
var helper = app.helper; | ||
var helper = app.helper, | ||
ctx = app.ctx; | ||
var theFormProps = Array.isArray(formProps) ? formProps : [formProps]; | ||
@@ -73,6 +74,8 @@ | ||
var $actions = _objectSpread(_objectSpread({}, actions), ctx.actions); | ||
return _objectSpread(_objectSpread({}, pluginProps), {}, { | ||
actions: actions, | ||
actions: $actions, | ||
formProps: _objectSpread({ | ||
actions: actions, | ||
actions: $actions, | ||
effects: function effects($) { | ||
@@ -79,0 +82,0 @@ $(methods.ON_FORM_MOUNT).subscribe(function () { |
@@ -102,3 +102,4 @@ "use strict"; | ||
var helper = app.helper; | ||
var helper = app.helper, | ||
ctx = app.ctx; | ||
var theFormProps = Array.isArray(formProps) ? formProps : [formProps]; | ||
@@ -113,6 +114,8 @@ | ||
var $actions = _objectSpread(_objectSpread({}, actions), ctx.actions); | ||
return _objectSpread(_objectSpread({}, pluginProps), {}, { | ||
actions: actions, | ||
actions: $actions, | ||
formProps: _objectSpread({ | ||
actions: actions, | ||
actions: $actions, | ||
effects: function effects($) { | ||
@@ -119,0 +122,0 @@ $(_config.methods.ON_FORM_MOUNT).subscribe(function () { |
{ | ||
"name": "@ahooksjs/use-form-table", | ||
"version": "0.2.4", | ||
"version": "0.2.5-alpha.0", | ||
"scripts": { | ||
@@ -22,3 +22,3 @@ "build:tsc": "tsc --project tsconfig.build.json --declarationDir ./lib && tsc --project tsconfig.build.json --declarationDir ./es" | ||
"dependencies": { | ||
"@ahooksjs/use-table": "^0.2.4", | ||
"@ahooksjs/use-table": "^0.2.5-alpha.0", | ||
"@formily/react-schema-renderer": "^1.2.9", | ||
@@ -28,3 +28,3 @@ "moment": "^2.27.0", | ||
}, | ||
"gitHead": "65cf1a1c09de9508a842407983812bd80e9f0af0" | ||
"gitHead": "b3d210173f9d30a966ee7a20db6c3c2f108713f4" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39105
576