Commit 31aa89c331709d266571b00fc4f84c2252c293f0

Authored by xp.Huang
2 parents 8cfa3384 a8c0daf8

Merge branch 'ft' into 'main_dev'

feat: 管理平台新增以平台管理员进入

See merge request yunteng/thingskit-front!673
... ... @@ -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: '用户详情',
... ...