errormessage profile

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-26 11:45:35 +07:00
parent ef064f4a18
commit 513daf58ca

View file

@ -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(() => {});
}