From 3d8bff94da257d3f429373297975c33b1b7ce28c Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期三, 09 十月 2024 20:58:37 +0800 Subject: [PATCH] 修改了对应的代码 --- 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