Skip to content

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

@LikeGhost

Description

@LikeGhost

@form-create/element-ui@2.5.0

element ui 2.15.7

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

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions