修复在某些情况下用户管理编辑页面保存后会导致密码更新为明文初始密码的问题
This commit is contained in:
parent
733aaabb4c
commit
744d492132
@ -165,7 +165,7 @@ const [BasicDrawer, drawerApi] = useVbenDrawer({
|
||||
formApi.updateSchema([
|
||||
{ componentProps: { disabled: isUpdate.value }, fieldName: 'userName' },
|
||||
{
|
||||
dependencies: { show: () => !isUpdate.value, triggerFields: ['id'] },
|
||||
dependencies: { if: () => !isUpdate.value, triggerFields: ['id'] },
|
||||
fieldName: 'password',
|
||||
},
|
||||
]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user