@quansitech/antd-admin 1.1.12 → 1.1.13
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/components/Form.js
CHANGED
|
@@ -80,7 +80,7 @@ export default function (props) {
|
|
|
80
80
|
(_modalContext$context = modalContext.contexts) === null || _modalContext$context === void 0 || (_modalContext$context = _modalContext$context.tableContext) === null || _modalContext$context === void 0 || _modalContext$context.getActionRef().reload();
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
if (!tableContext.getActionRef
|
|
83
|
+
if (!tableContext.getActionRef) {
|
|
84
84
|
_context.next = 5;
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
@@ -114,18 +114,20 @@ export default function (props) {
|
|
|
114
114
|
return _context2.abrupt("return");
|
|
115
115
|
case 28:
|
|
116
116
|
if (!props.modal) {
|
|
117
|
-
_context2.next =
|
|
117
|
+
_context2.next = 34;
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
setLoading(true);
|
|
121
|
+
_context2.next = 32;
|
|
121
122
|
return modalShow(_objectSpread(_objectSpread({}, props.modal), {}, {
|
|
122
123
|
contexts: {
|
|
123
124
|
tableContext: tableContext
|
|
124
125
|
}
|
|
125
126
|
}));
|
|
126
|
-
case 31:
|
|
127
|
-
return _context2.abrupt("return");
|
|
128
127
|
case 32:
|
|
128
|
+
setLoading(false);
|
|
129
|
+
return _context2.abrupt("return");
|
|
130
|
+
case 34:
|
|
129
131
|
case "end":
|
|
130
132
|
return _context2.stop();
|
|
131
133
|
}
|