master
dap 5 months ago
commit e3b0060258

@ -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…
Cancel
Save