From 598fe738b22d39172b068db5309476e08481e868 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 10 九月 2024 16:20:31 +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