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

group数组组件无法获取以及更新group中的规则 #650

Open
chenyuqiua opened this issue Nov 8, 2023 · 0 comments
Open

group数组组件无法获取以及更新group中的规则 #650

chenyuqiua opened this issue Nov 8, 2023 · 0 comments

Comments

@chenyuqiua
Copy link

chenyuqiua commented Nov 8, 2023

getRule和updateRule 无法获取以及更新group中的规则, 例如如下代码

{
      type: 'group',
      field: 'eventDetails',
      ... ,
     rules: [
       {
            type: 'el-radio-group',
            field: 'businessLine',
            ...
        }
     ]
}

我使用 this.fApi.getRule('businessLine') 或者 this.fApi.updateRule('businessLine', { value: xxx }); 没有办法获取或更新, 获取到的值为undefined, 我发现this.fApi.getRule('eventDetails')可以获取到这个数组, 但是数组内部的rules没办法获取到
有没有什么办法可以操作到rules中的一系列表单

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