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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.11.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 7e053ee: fix: change menu updated redirect url
8
+
9
+ ## 2.11.11
10
+
11
+ ### Patch Changes
12
+
13
+ - ad227a4: fix: resolve duplicate key error
14
+
3
15
  ## 2.11.10
4
16
 
5
17
  ### Patch Changes
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
- title: "\u662F\u5426\u9884\u8BBE",
1043
- dataIndex: "is_model",
1044
- key: "is_model",
1045
- render: (value) => value ? "\u5426" : "\u662F"
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("..", { relative: "path" }));
1241
+ message.success("\u66F4\u65B0\u6210\u529F", () => navigate("../..", { relative: "path" }));
1242
1242
  };
1243
1243
  useEffect(() => {
1244
1244
  const { permissions, front_route, ...rest } = data ?? {};