feat:增加面授课评论

This commit is contained in:
wyx
2023-03-04 13:43:25 +08:00
parent d2f11a5d28
commit abaaea8609
2 changed files with 746 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ export function useUserInfo(id) {
watch(id, () => {
id.value && boeRequest(GET_USER_LIST, {id: id.value}).then(res => {
userInfo.value = res.result.userInfoList[0]
userInfo.value.avatar = userInfo.value.avatar?userInfo.value.avatar:'/800e23f7-b58c-4192-820d-0c6a2b7544cc.png'
userInfo.value.avatar = userInfo.value.avatar?userInfo.value.avatar.includes('upload')?userInfo.value.avatar:'/upload'+userInfo.value.avatar:'/800e23f7-b58c-4192-820d-0c6a2b7544cc.png'
})
})
return userInfo