3
0
Fork 0

fix(mine): 修复接口500导致奖衔字段undefined后页面后续交互被阻塞的问题

This commit is contained in:
woody 2025-05-10 20:53:50 +08:00
parent 7d9d9e2bf3
commit 0cfd371b11
1 changed files with 1 additions and 1 deletions

View File

@ -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) {