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

怎么在某个onChange事件中修改数组组件的props中rules定义的某个组件的rules #481

Open
LikeGhost opened this issue Apr 3, 2022 · 0 comments

Comments

@LikeGhost
Copy link

@form-create/[email protected]

element ui 2.15.7

怎么在某个onChange事件中修改数组组件的props中rules定义的某个组件的rules

比如说在数组组件外的一个select选中某个值,然后数组组件中的select级联改变。

我尝试在onChange事件里面通过数组组件props里的rules里的rules定义的filed通过fApi.setValue设置值,但是没有啥效果,好像获取不到props里面定义的组件

顺便props的options参数是做啥用的,文档中讲的实在是太简单了,子表单的配置有点不好理解emmm

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

1 participant