Commit b67efb14 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复 字段取错的问题

parent 62e2e1be
......@@ -186,8 +186,8 @@ const MemberMaintain: React.FC<[]> = () => {
outerStatus = [],
status = [],
memberTypes = [],
memberRoles = [],
memberLevels = [],
roles = [],
levels = [],
sources = [],
} = data;
......@@ -216,8 +216,8 @@ const MemberMaintain: React.FC<[]> = () => {
return {
memberTypeId: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })),
roleId: memberRoles.map(item => ({ label: item.roleName, value: item.roleId })),
level: memberLevels.map(item => ({ label: item.levelTag, value: item.level })),
roleId: roles.map(item => ({ label: item.roleName, value: item.roleId })),
level: levels.map(item => ({ label: item.levelTag, value: item.level })),
source: sources.map(item => ({ label: item.text, value: item.id })),
innerStatus: innerStatus.map(item => ({ label: item.text, value: item.id })),
outerStatus: outerStatus.map(item => ({ label: item.text, value: item.id })),
......
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