Commit bcaadcee5d0e0a382067d4e4f5f00681c2317ac9
Merge branch 'fix/DEFECT-1628' into 'main_dev'
fix: 租户角色在启用状态下,隐藏删除按钮 See merge request yunteng/thingskit-front!911
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -41,6 +41,7 @@ | @@ -41,6 +41,7 @@ | ||
41 | { | 41 | { |
42 | label: '删除', | 42 | label: '删除', |
43 | auth: 'api:yt:role:delete', | 43 | auth: 'api:yt:role:delete', |
44 | + ifShow: !record.status, | ||
44 | icon: 'ant-design:delete-outlined', | 45 | icon: 'ant-design:delete-outlined', |
45 | color: 'error', | 46 | color: 'error', |
46 | popConfirm: { | 47 | popConfirm: { |