fix(mine): 修复接口500导致奖衔字段undefined后页面后续交互被阻塞的问题
This commit is contained in:
parent
b5e1d3974c
commit
5bfb9f8f63
|
@ -525,7 +525,7 @@ export default {
|
|||
//获取用户真实奖衔
|
||||
getUserAwardss() {
|
||||
api.getUserAwards().then((res) => {
|
||||
this.awards = res.data;
|
||||
this.awards = res.data || {};
|
||||
});
|
||||
},
|
||||
GetPercent(num, total) {
|
||||
|
|
Loading…
Reference in New Issue