From 43e1199ca0c75787fb6b52bef7d595abd115ceab Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 02 一月 2025 21:44:58 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-ui/src/views/secret/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/secret/index.vue b/ruoyi-ui/src/views/secret/index.vue
index 6e61327..14767cb 100644
--- a/ruoyi-ui/src/views/secret/index.vue
+++ b/ruoyi-ui/src/views/secret/index.vue
@@ -636,7 +636,7 @@
         // 鏁版嵁鑼冨洿閫夐」
         // 鏁版嵁鑼冨洿閫夐」
         fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
-          '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
+          '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.M4A'],
 
         fileList:[
         ],
@@ -908,6 +908,7 @@
           		// //  alert(this.$store.state.user.clanId)
           		//       this.listRoot = []
           		 let clanId = this.$store.state.user.clanId
+				 if(clanId!=null){
                   getAllInfo(clanId).then(response => {
                       this.listRoot = response.data;
                       const kon = {}
@@ -925,7 +926,8 @@
                       this.loading1 = false;
                     }
                   );
-          },
+          }
+		  },
       // 纭鍒嗕韩
       subShare(row) {
         const shareList = {}
@@ -946,8 +948,10 @@
       // ------------------------------------------------------------------
 
       getInfo(){
+		  
             console.log('-----------------')
             getInfo().then(response=>{
+				
               console.log(response.user.roles[0].roleId,'roleID')
               this.userId = response.user.roles[0].roleId
             })

--
Gitblit v1.9.1