mirror of
https://github.com/PlayEdu/backend
synced 2025-10-26 23:14:45 +08:00
Merge branch 'fix/0922' of https://gitee.com/playeduxyz/backend into fix/0922
This commit is contained in:
@@ -7,7 +7,7 @@ interface PropInterface {
|
||||
p: string;
|
||||
class: string;
|
||||
icon: any;
|
||||
onClick: () => void;
|
||||
onClick?: () => void;
|
||||
disabled: any;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ export const PerButton = (props: PropInterface) => {
|
||||
danger
|
||||
icon={props.icon}
|
||||
onClick={() => {
|
||||
props.onClick();
|
||||
props.onClick && props.onClick();
|
||||
}}
|
||||
disabled={props.disabled}
|
||||
>
|
||||
@@ -43,7 +43,7 @@ export const PerButton = (props: PropInterface) => {
|
||||
type={props.type}
|
||||
icon={props.icon}
|
||||
onClick={() => {
|
||||
props.onClick();
|
||||
props.onClick && props.onClick();
|
||||
}}
|
||||
disabled={props.disabled}
|
||||
>
|
||||
|
||||
@@ -366,7 +366,6 @@ const MemberPage = () => {
|
||||
class="mr-16"
|
||||
icon={null}
|
||||
p="user-store"
|
||||
onClick={() => null}
|
||||
disabled={null}
|
||||
/>
|
||||
</Link>
|
||||
@@ -384,7 +383,6 @@ const MemberPage = () => {
|
||||
class="mr-16"
|
||||
icon={null}
|
||||
p="department-user-learn"
|
||||
onClick={() => null}
|
||||
disabled={null}
|
||||
/>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user