react-toolkits 2.13.8 → 2.13.9
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 +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -540,7 +540,8 @@ var init_hooks2 = __esm({
|
|
|
540
540
|
const { data, ...rest } = useSWR5(
|
|
541
541
|
codes.length ? [
|
|
542
542
|
permissionVersion !== "v1" /* V1 */ ? "/api/usystem/user/checkV2" : "/api/usystem/user/check",
|
|
543
|
-
{ permissions: codes }
|
|
543
|
+
{ permissions: codes },
|
|
544
|
+
config
|
|
544
545
|
] : null,
|
|
545
546
|
([url4, body]) => axios2.post(url4, body, config).then((response) => response.data.data)
|
|
546
547
|
);
|