react-toolkits 2.13.25 → 2.13.26
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/CHANGELOG.md +6 -0
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -1352,7 +1352,7 @@ var init_QueryList = __esm({
|
|
|
1352
1352
|
return serializedKey;
|
|
1353
1353
|
}, [accessible, isValid, url4, requestConfig]);
|
|
1354
1354
|
const { axios: axios2 } = useToolkitsStore((s) => s);
|
|
1355
|
-
const { data, isLoading
|
|
1355
|
+
const { data, isLoading } = useSWR6(
|
|
1356
1356
|
key,
|
|
1357
1357
|
async () => {
|
|
1358
1358
|
const response = await axios2.request(requestConfig);
|
|
@@ -1458,7 +1458,7 @@ var init_QueryList = __esm({
|
|
|
1458
1458
|
{
|
|
1459
1459
|
showReset,
|
|
1460
1460
|
buttonsAlign,
|
|
1461
|
-
isConfirming:
|
|
1461
|
+
isConfirming: isLoading,
|
|
1462
1462
|
onReset,
|
|
1463
1463
|
onConfirm,
|
|
1464
1464
|
children: cloneElement(renderForm(_form), {
|
|
@@ -1482,7 +1482,7 @@ var init_QueryList = __esm({
|
|
|
1482
1482
|
{
|
|
1483
1483
|
...tableProps,
|
|
1484
1484
|
dataSource,
|
|
1485
|
-
loading: isLoading
|
|
1485
|
+
loading: isLoading,
|
|
1486
1486
|
pagination,
|
|
1487
1487
|
footer: renderFooter
|
|
1488
1488
|
}
|