react-toolkits 2.32.7 → 2.32.8

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.32.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 520a738: refactor: update RequireAuth component to improve type handling
8
+
3
9
  ## 2.32.7
4
10
 
5
11
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -799,7 +799,7 @@ interface RequireAuthProps {
799
799
  /** 权限码 */
800
800
  code: string;
801
801
  /** 请求配置 */
802
- config?: Options;
802
+ config?: RequestOptions;
803
803
  /** 无权限时点击返回按钮跳转的路径,默认为首页 '/' */
804
804
  redirectPath?: string;
805
805
  }