From a5b3929efa08263edfa18a6093fa4fef44a82d8e Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期一, 14 十月 2024 17:37:00 +0800 Subject: [PATCH] 修改了bug --- ruoyi-ui/src/views/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index a38b201..2c58e76 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -78,8 +78,12 @@ getUserProfile().then(response => { this.user = response.data; }); + let clanId = this.$store.state.user.clanId - // alert(clanId) + if(clanId==null) + { + //alert(clanId) + return} listRoot(10,clanId).then(response =>{ this.rootList =response.data; -- Gitblit v1.9.1