|
@@ -340,7 +340,8 @@ export function useDataList() {
|
|
|
{
|
|
|
label: t('user_dropdown.password'),
|
|
|
key: 'password',
|
|
|
- icon: renderIcon(KeyOutlined)
|
|
|
+ icon: renderIcon(KeyOutlined),
|
|
|
+ disabled: (userStore.getUserInfo as UserInfoRes).securityConfigType !== 'PASSWORD'
|
|
|
},
|
|
|
{
|
|
|
label: t('user_dropdown.logout'),
|