From a07f38d33c352183d95ff411f93ff438dd210eda Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 10 Jul 2024 10:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=93=E4=B8=9A=E5=8A=9B?= =?UTF-8?q?=E5=BF=85=E4=BF=AE=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserCenter/menu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } })