errormessage profile
This commit is contained in:
parent
ef064f4a18
commit
513daf58ca
1 changed files with 2 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ async function checkUser() {
|
|||
.get(config.API.profilePosition())
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
|
||||
if (data.avatarName) {
|
||||
await getImg(data.profileId, data.avatarName);
|
||||
} else {
|
||||
|
|
@ -79,7 +80,7 @@ function getImg(id: string, pathName: string) {
|
|||
profileImg.value = res.data.downloadUrl;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
// messageError($q, e);
|
||||
})
|
||||
.finally(() => {});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue