Pre Merge pull request !51 from diantu/dev
This commit is contained in:
commit
77ff6eb792
@ -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',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user