From e228dc7b78fc4eba612586b351bfbcf2d6bff223 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 22 九月 2024 17:05:29 +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