mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 19:06:48 +08:00
-- bug
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user