学员列表优化

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