学员列表优化

This commit is contained in:
禺狨 2023-04-20 11:58:09 +08:00
parent 746a48d4d6
commit 0c5a7f2f60

View File

@ -278,6 +278,7 @@ const MemberPage = () => {
onClick={() => setCreateVisible(true)} onClick={() => setCreateVisible(true)}
disabled={null} disabled={null}
/> />
{dep_ids.length === 0 && (
<Link style={{ textDecoration: "none" }} to={`/member/import`}> <Link style={{ textDecoration: "none" }} to={`/member/import`}>
<PerButton <PerButton
type="default" type="default"
@ -289,6 +290,7 @@ const MemberPage = () => {
disabled={null} disabled={null}
/> />
</Link> </Link>
)}
{dep_ids.length > 0 && ( {dep_ids.length > 0 && (
<Link <Link
style={{ textDecoration: "none" }} style={{ textDecoration: "none" }}
@ -296,7 +298,7 @@ const MemberPage = () => {
> >
<PerButton <PerButton
type="primary" type="primary"
text="查看部门学员进度" text="部门学员进度"
class="mr-16" class="mr-16"
icon={null} icon={null}
p="department-user-learn" p="department-user-learn"