wargerm 0.7.48 → 0.7.49
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.
- package/dist/index.esm.js +8 -5
- package/dist/index.js +8 -5
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -7183,6 +7183,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7183
7183
|
setModalFormConfig = _useState4[1];
|
7184
7184
|
|
7185
7185
|
var formSearchRef = useRef({});
|
7186
|
+
var tableRequestParmas = useRef({});
|
7186
7187
|
var modalFormColumn = deepCopy(columns) || [];
|
7187
7188
|
var formSearchColumn = deepCopy(columns) || [];
|
7188
7189
|
useImperativeHandle(ref, function () {
|
@@ -7613,7 +7614,8 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7613
7614
|
return {
|
7614
7615
|
config: omit(item, ['type', 'actionMethod', 'actionRender']),
|
7615
7616
|
children: (_item$actionRender2 = item.actionRender) === null || _item$actionRender2 === void 0 ? void 0 : _item$actionRender2.call(item, actionRef, function () {
|
7616
|
-
|
7617
|
+
searchFormRef.current;
|
7618
|
+
item.actionMethod && item.actionMethod(tableRequestParmas.current, function () {
|
7617
7619
|
var _actionRef$current5;
|
7618
7620
|
|
7619
7621
|
return actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current5 = actionRef.current) === null || _actionRef$current5 === void 0 ? void 0 : _actionRef$current5.reload();
|
@@ -7824,13 +7826,14 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7824
7826
|
while (1) {
|
7825
7827
|
switch (_context9.prev = _context9.next) {
|
7826
7828
|
case 0:
|
7827
|
-
|
7828
|
-
|
7829
|
+
tableRequestParmas.current = _objectSpread2(_objectSpread2({}, params), formSearchRef.current);
|
7830
|
+
_context9.next = 3;
|
7831
|
+
return _request(tableRequestParmas.current);
|
7829
7832
|
|
7830
|
-
case
|
7833
|
+
case 3:
|
7831
7834
|
return _context9.abrupt("return", _context9.sent);
|
7832
7835
|
|
7833
|
-
case
|
7836
|
+
case 4:
|
7834
7837
|
case "end":
|
7835
7838
|
return _context9.stop();
|
7836
7839
|
}
|
package/dist/index.js
CHANGED
@@ -7227,6 +7227,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7227
7227
|
setModalFormConfig = _useState4[1];
|
7228
7228
|
|
7229
7229
|
var formSearchRef = React.useRef({});
|
7230
|
+
var tableRequestParmas = React.useRef({});
|
7230
7231
|
var modalFormColumn = deepCopy(columns) || [];
|
7231
7232
|
var formSearchColumn = deepCopy(columns) || [];
|
7232
7233
|
React.useImperativeHandle(ref, function () {
|
@@ -7657,7 +7658,8 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7657
7658
|
return {
|
7658
7659
|
config: lodashEs.omit(item, ['type', 'actionMethod', 'actionRender']),
|
7659
7660
|
children: (_item$actionRender2 = item.actionRender) === null || _item$actionRender2 === void 0 ? void 0 : _item$actionRender2.call(item, actionRef, function () {
|
7660
|
-
|
7661
|
+
searchFormRef.current;
|
7662
|
+
item.actionMethod && item.actionMethod(tableRequestParmas.current, function () {
|
7661
7663
|
var _actionRef$current5;
|
7662
7664
|
|
7663
7665
|
return actionRef === null || actionRef === void 0 ? void 0 : (_actionRef$current5 = actionRef.current) === null || _actionRef$current5 === void 0 ? void 0 : _actionRef$current5.reload();
|
@@ -7868,13 +7870,14 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7868
7870
|
while (1) {
|
7869
7871
|
switch (_context9.prev = _context9.next) {
|
7870
7872
|
case 0:
|
7871
|
-
|
7872
|
-
|
7873
|
+
tableRequestParmas.current = _objectSpread2(_objectSpread2({}, params), formSearchRef.current);
|
7874
|
+
_context9.next = 3;
|
7875
|
+
return _request(tableRequestParmas.current);
|
7873
7876
|
|
7874
|
-
case
|
7877
|
+
case 3:
|
7875
7878
|
return _context9.abrupt("return", _context9.sent);
|
7876
7879
|
|
7877
|
-
case
|
7880
|
+
case 4:
|
7878
7881
|
case "end":
|
7879
7882
|
return _context9.stop();
|
7880
7883
|
}
|