Commit d85cd3dc authored by XieZhiXiong's avatar XieZhiXiong

去掉只有 服务提供者 才能够创建下级会员的限制

parent b47eefce
......@@ -276,7 +276,7 @@ const MemberMaintain: React.FC<[]> = () => {
const controllerBtns = (
<>
{(userInfo && userInfo.memberRoleType === MEMBER_ROLE_TYPE_SERVICE_PROVIDER) && (
{/* {(userInfo && userInfo.memberRoleType === MEMBER_ROLE_TYPE_SERVICE_PROVIDER) && (
<Space>
<Button
type="primary"
......@@ -296,7 +296,26 @@ const MemberMaintain: React.FC<[]> = () => {
更多
</Dropdown.Button>
</Space>
)}
)} */}
<Space>
<Button
type="primary"
onClick={() =>
history.push(`/memberCenter/memberAbility/manage/import/add`)
}
>
<PlusOutlined />
新建
</Button>
<Button onClick={() => setVisibleModal(true)}>导入</Button>
<Dropdown.Button
overlay={menu}
trigger={['click']}
icon={<DownOutlined />}
>
更多
</Dropdown.Button>
</Space>
</>
);
......
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