Showing
1 changed file
with
1 additions
and
2 deletions
| ... | ... | @@ -48,9 +48,8 @@ |
| 48 | 48 | { |
| 49 | 49 | label: '进入', |
| 50 | 50 | icon: 'ant-design:login-outlined', |
| 51 | - tooltip: '以客户用户身份登录', | |
| 51 | + tooltip: `以${!isAdmin(role) ? '客户' : '平台'}用户身份登录`, | |
| 52 | 52 | onClick: handleLoginCustomAdmin.bind(null, record), |
| 53 | - ifShow: !isAdmin(role), | |
| 54 | 53 | }, |
| 55 | 54 | { |
| 56 | 55 | label: '用户详情', | ... | ... |