Skip to content
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

form设置doReset()无效 #61

Closed
jingjingzhao opened this issue May 18, 2022 · 0 comments
Closed

form设置doReset()无效 #61

jingjingzhao opened this issue May 18, 2022 · 0 comments

Comments

@jingjingzhao
Copy link

jingjingzhao commented May 18, 2022

form上想重写doReset()方法,但不生效。
代码如下:
form: { doReset() { console.log('===doReset==') } }

我看源码中props上没有定义doReset属性,但 reset() 中有判断 props.doReset 是否存在,这块有bug

greper added a commit that referenced this issue May 23, 2022
greper added a commit to fast-crud/fs-admin-antdv that referenced this issue May 23, 2022
greper added a commit that referenced this issue May 23, 2022
greper added a commit that referenced this issue May 23, 2022
@greper greper closed this as completed May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants