Commit d82b8160 authored by wuhao's avatar wuhao 🎯

asder

parent 4efa7f41
Pipeline #3536 passed with stages
in 4 minutes and 13 seconds
......@@ -49,10 +49,12 @@ function Usercenter() {
}
};
const [edit, setedit] = useState(false);
const [telephone, settelephone] = useState(currentUser?.telephone);
const [email, setemail] = useState(currentUser?.email);
return (
<Container maxWidth={false} className="diystyles">
<Box
......@@ -293,7 +295,7 @@ function Usercenter() {
dataIndex: "departmentName",
key: "departmentName",
},
{ title: "班级", dataIndex: "className", key: "className" },
currentUser?.type==="3" && { title: "班级", dataIndex: "className", key: "className" },
]}
dataSource={currentUser}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment