react-toolkits 2.11.10 → 2.11.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 +12 -0
- package/lib/index.js +7 -7
- 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
|
@@ -1038,12 +1038,12 @@ var init_menuItemList = __esm({
|
|
|
1038
1038
|
dataIndex: "model_name",
|
|
1039
1039
|
key: "model_name"
|
|
1040
1040
|
},
|
|
1041
|
-
{
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
},
|
|
1041
|
+
// {
|
|
1042
|
+
// title: '是否预设',
|
|
1043
|
+
// dataIndex: 'is_model',
|
|
1044
|
+
// key: 'is_model',
|
|
1045
|
+
// render: value => (value ? '否' : '是'),
|
|
1046
|
+
// },
|
|
1047
1047
|
{
|
|
1048
1048
|
title: "\u64CD\u4F5C",
|
|
1049
1049
|
key: "action",
|
|
@@ -1238,7 +1238,7 @@ var init_updateMenuItem = __esm({
|
|
|
1238
1238
|
id: +params.id
|
|
1239
1239
|
});
|
|
1240
1240
|
mutate2();
|
|
1241
|
-
message.success("\u66F4\u65B0\u6210\u529F", () => navigate("
|
|
1241
|
+
message.success("\u66F4\u65B0\u6210\u529F", () => navigate("../..", { relative: "path" }));
|
|
1242
1242
|
};
|
|
1243
1243
|
useEffect(() => {
|
|
1244
1244
|
const { permissions, front_route, ...rest } = data ?? {};
|