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

重置表单resetFields()不生效 #625

Closed
fit2cloudwxx opened this issue Aug 10, 2023 · 2 comments
Closed

重置表单resetFields()不生效 #625

fit2cloudwxx opened this issue Aug 10, 2023 · 2 comments

Comments

@fit2cloudwxx
Copy link

设置了表单必填项,进行校验的时候 下次打开弹窗的时候 Api.value.resetFields() 不生效

image

image
image

翻看之前的issues是说的 3.1.23版本的会修复,是否和版本有关系,在群里问了相关问题,暂时没有说是版本的问题 希望能回复

@xaboy
Copy link
Owner

xaboy commented Aug 11, 2023

rule需要用ref包一下

const rule = ref([])

@ItsHeart
Copy link

#620 naive的其他组件待解决
#616 这个解决了naive的select

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

3 participants