react-toolkits 2.13.11 → 2.13.12

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.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 0b98376: fix: axios url not right
8
+
3
9
  ## 2.13.11
4
10
 
5
11
  ### Patch Changes
package/lib/index.js CHANGED
@@ -521,7 +521,7 @@ function useMenuList() {
521
521
  const { signInPath, axios: axios2 } = useToolkitsStore((s) => s);
522
522
  return useSWR5(
523
523
  window.location.pathname !== signInPath ? "/api/usystem/menu/navbar" : null,
524
- ([url4]) => axios2(url4).then((response) => response.data.data)
524
+ (url4) => axios2(url4).then((response) => response.data.data)
525
525
  );
526
526
  }
527
527
  var usePermissions, usePermission;