From b71b4fa3c592e667e114ba1bcf42a2204d6cbf6d Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 18 三月 2025 15:56:27 +0800
Subject: [PATCH] 修改了对应代码

---
 ruoyi-ui/src/views/bignote/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue
index e44df48..a674317 100644
--- a/ruoyi-ui/src/views/bignote/index.vue
+++ b/ruoyi-ui/src/views/bignote/index.vue
@@ -602,7 +602,7 @@
       dateRange: [],
       // 鏁版嵁鑼冨洿閫夐」
       fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
-        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a'],
+        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.m4a','.M4A'],
       fileList:[],
 	  fileList1:[],
 	  	  uploadFileList: [],
@@ -823,7 +823,7 @@
           this.loading1 = true;
 		  let userId = this.$store.state.user.userId
 		//  alert(userId)
-		  
+		  this.userOptions = []
 		  showShareUser(userId, 2013).then(response=>{
 			  console.log("===========ddddddddddddd")
 			  console.log(response.data)
@@ -860,7 +860,16 @@
       const shareList = {}
       shareList.shareContents = this.id1 || this.ids;
       shareList.shareIds = this.ids1
+	  if(shareList.shareIds.length==0)
+	  {
+		  this.$modal.msgSuccess("璇烽�夋嫨鍒嗕韩瀵硅薄");
+		  return;
+	  }
       console.log(shareList,'sharelistsharelist')
+	  
+	  
+	  
+	  
       this.$modal.confirm('鏄惁纭鍒嗕韩锛�').then(function() {
         return share(shareList);
       }).then(() => {

--
Gitblit v1.9.1