react-toolkits 2.11.9 → 2.11.11

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,17 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.11.11
4
+
5
+ ### Patch Changes
6
+
7
+ - ad227a4: fix: resolve duplicate key error
8
+
9
+ ## 2.11.10
10
+
11
+ ### Patch Changes
12
+
13
+ - aea065d: fix: remove navigate
14
+
3
15
  ## 2.11.9
4
16
 
5
17
  ### Patch Changes
package/lib/index.js CHANGED
@@ -283,10 +283,6 @@ var init_axios = __esm({
283
283
  Interceptor = ({ children }) => {
284
284
  const state = useToolkitsStore((s) => s);
285
285
  const { notification } = App.useApp();
286
- if (!state.token) {
287
- window.location.replace(state.signInPath);
288
- return null;
289
- }
290
286
  if (requestInterceptorId) {
291
287
  axiosInstance.interceptors.request.eject(requestInterceptorId);
292
288
  }
@@ -1042,12 +1038,12 @@ var init_menuItemList = __esm({
1042
1038
  dataIndex: "model_name",
1043
1039
  key: "model_name"
1044
1040
  },
1045
- {
1046
- title: "\u662F\u5426\u9884\u8BBE",
1047
- dataIndex: "is_model",
1048
- key: "is_model",
1049
- render: (value) => value ? "\u5426" : "\u662F"
1050
- },
1041
+ // {
1042
+ // title: '是否预设',
1043
+ // dataIndex: 'is_model',
1044
+ // key: 'is_model',
1045
+ // render: value => (value ? '否' : '是'),
1046
+ // },
1051
1047
  {
1052
1048
  title: "\u64CD\u4F5C",
1053
1049
  key: "action",