We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我是这样配置的
export default [ { label: '管理员', field: 'user_ids', component: 'ApiSelect', colProps: { span: 24 }, componentProps: { api: getUsersSelectList, mode: 'multiple', }, }, ] as FormSchema[];
执行后, 报错 如同下图所示
需要在此处多加个类型判断 https://github.com/anncwb/vue-vben-admin/blob/ee1c3498587951a6a4cc0b49edb9dacf3f2af5c3/src/components/Form/src/components/ApiSelect.vue#L44
value: propTypes.string | propTypes.array,
The text was updated successfully, but these errors were encountered:
37c5741
fix(api-select): make sure the type is correct, fix vbenjs#468
e45ab79
No branches or pull requests
我是这样配置的
执行后, 报错
如同下图所示
需要在此处多加个类型判断
https://github.com/anncwb/vue-vben-admin/blob/ee1c3498587951a6a4cc0b49edb9dacf3f2af5c3/src/components/Form/src/components/ApiSelect.vue#L44
The text was updated successfully, but these errors were encountered: