mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 13:09:55 +08:00
back-bar组件
This commit is contained in:
@@ -26,7 +26,6 @@ export const MemberCreatePage: React.FC = () => {
|
||||
department.departmentList().then((res: any) => {
|
||||
const departments = res.data.departments;
|
||||
const new_arr: Option[] = checkArr(departments, 0);
|
||||
console.log(new_arr);
|
||||
setDepartments(new_arr);
|
||||
});
|
||||
};
|
||||
@@ -72,9 +71,7 @@ export const MemberCreatePage: React.FC = () => {
|
||||
console.log("Failed:", errorInfo);
|
||||
};
|
||||
|
||||
const onChange = (value: any) => {
|
||||
console.log(value);
|
||||
};
|
||||
const onChange = (value: any) => {};
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -30,7 +30,6 @@ export const MemberUpdatePage: React.FC = () => {
|
||||
department.departmentList().then((res: any) => {
|
||||
const departments = res.data.departments;
|
||||
const new_arr: Option[] = checkArr(departments, 0);
|
||||
console.log(new_arr);
|
||||
setDepartments(new_arr);
|
||||
});
|
||||
};
|
||||
@@ -94,9 +93,7 @@ export const MemberUpdatePage: React.FC = () => {
|
||||
console.log("Failed:", errorInfo);
|
||||
};
|
||||
|
||||
const onChange = (value: any) => {
|
||||
console.log(value);
|
||||
};
|
||||
const onChange = (value: any) => {};
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user