mirror of
https://github.com/PlayEdu/backend
synced 2025-12-22 21:01:49 +08:00
update
This commit is contained in:
@@ -7,7 +7,7 @@ interface PropInterface {
|
|||||||
p: string;
|
p: string;
|
||||||
class: string;
|
class: string;
|
||||||
icon: any;
|
icon: any;
|
||||||
onClick: () => void;
|
onClick?: () => void;
|
||||||
disabled: any;
|
disabled: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ export const PerButton = (props: PropInterface) => {
|
|||||||
danger
|
danger
|
||||||
icon={props.icon}
|
icon={props.icon}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.onClick();
|
props.onClick && props.onClick();
|
||||||
}}
|
}}
|
||||||
disabled={props.disabled}
|
disabled={props.disabled}
|
||||||
>
|
>
|
||||||
@@ -43,7 +43,7 @@ export const PerButton = (props: PropInterface) => {
|
|||||||
type={props.type}
|
type={props.type}
|
||||||
icon={props.icon}
|
icon={props.icon}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.onClick();
|
props.onClick && props.onClick();
|
||||||
}}
|
}}
|
||||||
disabled={props.disabled}
|
disabled={props.disabled}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -366,7 +366,6 @@ const MemberPage = () => {
|
|||||||
class="mr-16"
|
class="mr-16"
|
||||||
icon={null}
|
icon={null}
|
||||||
p="user-store"
|
p="user-store"
|
||||||
onClick={() => null}
|
|
||||||
disabled={null}
|
disabled={null}
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
@@ -384,7 +383,6 @@ const MemberPage = () => {
|
|||||||
class="mr-16"
|
class="mr-16"
|
||||||
icon={null}
|
icon={null}
|
||||||
p="department-user-learn"
|
p="department-user-learn"
|
||||||
onClick={() => null}
|
|
||||||
disabled={null}
|
disabled={null}
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user