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 +12 -0
- package/lib/index.js +6 -10
- package/lib/index.js.map +1 -1
- package/locale/hooks.js.map +1 -1
- package/locale/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
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",
|