diff --git a/src/components/UserCenter/menu.vue b/src/components/UserCenter/menu.vue index add84021..fc6b5de7 100644 --- a/src/components/UserCenter/menu.vue +++ b/src/components/UserCenter/menu.vue @@ -507,7 +507,7 @@ export default { this.pathTotals =parseInt(res.data.total); }) getList(this.userInfo.aid).then(res=>{ - if(res.code == 200 ){ + if(res.code == 200 && Object.keys(res.data).length){ this.growTotal = 1 } })