import { Avatar } from "@arco-design/web-react";
import { useSelector } from "react-redux";
import "./index.css";
const ProfileCard = () => {
const studentInfo = useSelector((state) => state.student.studentInfo);
return (
{studentInfo?.realName || "-"}
学号: {studentInfo?.studentNo || "-"}
-
学分
{studentInfo?.myRank?.score || "-"}
-
班级排名
{studentInfo?.myRank?.rank || "-"}
-
MBTI
{studentInfo?.mbtiType || "-"}
-
学校
{studentInfo?.school || "-"}
-
专业
{studentInfo?.major || "-"}
-
班级
{studentInfo?.className || "-"}
-
学习阶段
{studentInfo?.stageName || "-"}
);
};
export default ProfileCard;