Commit 4d9a663e authored by leiqingsong's avatar leiqingsong

修改设置界面的bug

parent 05e033a9
...@@ -84,6 +84,11 @@ export default { ...@@ -84,6 +84,11 @@ export default {
this.avatar = res.headImage; this.avatar = res.headImage;
}); });
} }
}).catch(err => {
console.log(err.response);
if (err.response.status === 502) {
this.$toast('服务在升级,请稍后重试')
}
}); });
}, },
logout() { logout() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment