-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
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
Invalid prop: type check failed for prop "onClick". Expected Function, got Array #3358
Comments
@xxbsxy 贴你的完整复现 |
@wangjue666 我的BasicForm 放在的BasicTable的插槽中 我需要手动重写reset方法 但是一直抛出警告
const { tableContext } = useListPage({
}); const reset = async () => { const [registerForm, { getFieldsValue, setFieldsValue, resetFields }] = useForm({ |
@xxbsxy 贴个图 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
加上后 resetButtonOptions: {
onClick: () => {
reset();
},
},
会报警告
chunk-VNIXZ35R.js?v=e367aa2c:1665 [Vue warn]: Invalid prop: type check failed for prop "onClick". Expected Function, got Array
The text was updated successfully, but these errors were encountered: