This commit is contained in:
yuping
2023-01-16 00:54:10 +08:00
parent 762568ae8b
commit e974670cf0
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ onMounted(() => {
function getUserInfo() { function getUserInfo() {
if(import.meta.env.MODE ==='development' || import.meta.env.MODE ==='test'){ if(import.meta.env.MODE ==='development' || import.meta.env.MODE ==='test'){
request(USER_INFO,{}).then(res=>{ request(USER_INFO,{}).then(res=>{
store.commit("SET_USER", res.data.result); store.commit("SET_USER", res.data);
}) })
}else{ }else{
boeRequest(GET_USER_INFO).then((res) => { boeRequest(GET_USER_INFO).then((res) => {

View File

@@ -160,7 +160,7 @@
</div> </div>
<!-- todo #路径详情 个人信息缺少img和介绍--> <!-- todo #路径详情 个人信息缺少img和介绍-->
<div class="teacheritem" :style="{ 'border-bottom': '1px solid rgba(56, 125, 247, 0.2)' }"> <div class="teacheritem" :style="{ 'border-bottom': '1px solid rgba(56, 125, 247, 0.2)' }">
<img class="peopleimg" :src="userInfo.avatar" /> <img class="peopleimg" :src="userInfo?.avatar" />
<div style="margin-left: 17px"> <div style="margin-left: 17px">
<div class="teacherName"> <div class="teacherName">
<div style="margin-right: 5px"> <div style="margin-right: 5px">