|
|
@@ -5,14 +5,15 @@
|
|
|
<el-descriptions title="个人中心" border :column="3">
|
|
|
<template #extra>
|
|
|
<el-button type="primary" @click="passwordChangeVisible=true">修改密码</el-button>
|
|
|
- <el-button type="primary" @click="infoChangeVisible=true">修改信息</el-button>
|
|
|
+ <!-- <el-button type="primary" @click="infoChangeVisible=true">修改信息</el-button> -->
|
|
|
</template>
|
|
|
- <el-descriptions-item :rowspan="3" :width="120" label="头像">
|
|
|
+ <!-- <el-descriptions-item :rowspan="3" :width="120" label="头像">
|
|
|
<el-avatar align="center" style="width: 100px; height: 100px" :src="user.userAvatar"/>
|
|
|
- </el-descriptions-item>
|
|
|
+ </el-descriptions-item> -->
|
|
|
<el-descriptions-item label="姓名">{{ user.name }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="角色">
|
|
|
- <el-tag size="small">{{ user.role == 'STUDENT' ? '学生' : '教师'}}</el-tag>
|
|
|
+ {{ user.role == 'STUDENT' ? '学生' : '教师'}}
|
|
|
+ <!-- <el-tag size="small">{{ user.role == 'STUDENT' ? '学生' : '教师'}}</el-tag> -->
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="账号">{{ user.officialNumber }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="邮箱">{{ user.officialEmail }}</el-descriptions-item>
|