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