mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-26 14:44:31 +08:00
修复在某些情况下用户管理编辑页面保存后会导致密码更新为明文初始密码的问题
This commit is contained in:
@@ -165,7 +165,7 @@ const [BasicDrawer, drawerApi] = useVbenDrawer({
|
|||||||
formApi.updateSchema([
|
formApi.updateSchema([
|
||||||
{ componentProps: { disabled: isUpdate.value }, fieldName: 'userName' },
|
{ componentProps: { disabled: isUpdate.value }, fieldName: 'userName' },
|
||||||
{
|
{
|
||||||
dependencies: { show: () => !isUpdate.value, triggerFields: ['id'] },
|
dependencies: { if: () => !isUpdate.value, triggerFields: ['id'] },
|
||||||
fieldName: 'password',
|
fieldName: 'password',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user