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中TreeSelect 组件提交表单时,报警告 #3756

Open
jitaguizhao opened this issue Nov 3, 2020 · 0 comments
Open

Form中TreeSelect 组件提交表单时,报警告 #3756

jitaguizhao opened this issue Nov 3, 2020 · 0 comments
Assignees

Comments

@jitaguizhao
Copy link

Warning: Failed prop type: Invalid prop state of value success supplied to Config(Select), expected one of ["error","loading"].

<TreeSelect key="deptId" hasArrow={false} treeDefaultExpandAll dataSource={deptTree} {...field.init('deptId',{ rules: {required: true,message: '部门不能为空!'}})} onChange={handleChange} style={{ width: 758 }} />
说明:异常只是在首次打开Dialog时提交Form会报此异常,再次添加就不会报了

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

4 participants