This commit is contained in:
qsh
2024-07-27 13:30:17 +08:00
parent 2be616917e
commit 8d9c426773
2 changed files with 7 additions and 22 deletions

View File

@@ -167,6 +167,9 @@ const formSchema = computed(() => {
it.componentProps['disabled-date'] = dateAfterToday
it.componentProps['disabled'] = formType.value != 'create'
}
if (it.field == 'convertPeople') {
it.options = props.userOptions.map((it) => ({ ...it, name: it.nickname }))
}
})
return [
...newSchema,