Commit 044eaad7 authored by 田翔's avatar 田翔

fix: 人员选择器分组形态存储ID回显问题

parent 840f072e
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.5.2", "version": "2.5.3",
"description": "2.5.2: 提示修改", "description": "2.5.3: 人员选择器分组形态存储ID回显问题",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -17,11 +17,15 @@ const getUSerName = (groupList, value, isMultiple, property) => { ...@@ -17,11 +17,15 @@ const getUSerName = (groupList, value, isMultiple, property) => {
} }
}) })
} else { } else {
users = v.userList.filter(s => s[property] === value) let values = v.userList.filter(s => s[property] == value)
if (values.length) {
users = values
}
} }
} }
}) })
} }
console.log('users', groupList, value, isMultiple, property, users)
return users.map(v => v.userName).join(',') return users.map(v => v.userName).join(',')
} }
......
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