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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.13.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 0ac3825: fix: config change should trigger check api refecth
8
+
3
9
  ## 2.13.8
4
10
 
5
11
  ### Patch Changes
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
  );