Commit 30b9e0386b1b855dcfbdeaf04c54ae46ff5ae595
1 parent
cc26522d
fix(front): 默认租户配置不能删除,且不用再设置为默认租户配置
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -18,6 +18,7 @@ | @@ -18,6 +18,7 @@ | ||
18 | label: '设置该租户为默认', | 18 | label: '设置该租户为默认', |
19 | icon: 'ant-design:eye-outlined', | 19 | icon: 'ant-design:eye-outlined', |
20 | onClick: handleDefault.bind(null, record), | 20 | onClick: handleDefault.bind(null, record), |
21 | + ifShow: !record.default, | ||
21 | }, | 22 | }, |
22 | { | 23 | { |
23 | label: '编辑', | 24 | label: '编辑', |
@@ -32,6 +33,7 @@ | @@ -32,6 +33,7 @@ | ||
32 | title: '是否确认删除', | 33 | title: '是否确认删除', |
33 | confirm: handleDelete.bind(null, record), | 34 | confirm: handleDelete.bind(null, record), |
34 | }, | 35 | }, |
36 | + ifShow: !record.default, | ||
35 | }, | 37 | }, |
36 | ]" | 38 | ]" |
37 | /> | 39 | /> |