Commit 87a5e98d authored by 前端-彭佳文's avatar 前端-彭佳文

Merge branch '20418order' into 'v2-220418'

修复选择角色 默认值没有转换问题 See merge request linkseeks-design/pro-platform!637
parents 916fcbcd f53033a2
...@@ -79,7 +79,7 @@ function RoleSelect(props: RoleSelectProps) { ...@@ -79,7 +79,7 @@ function RoleSelect(props: RoleSelectProps) {
if (data.length === 1 && isDefault) { if (data.length === 1 && isDefault) {
if (undefined !== formProp) { if (undefined !== formProp) {
formProp.setFieldsValue({ formProp.setFieldsValue({
[props.id]: data[0] [props.id]: formatFeils(data[0])
}) })
} }
setLocalDisabled(true) setLocalDisabled(true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment