From b849886a6e1004c32cee00c2ee4e15f9d848f061 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 19 四月 2025 22:06:27 +0800
Subject: [PATCH] 修改

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

diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue
index de51fd4..3774cc1 100644
--- a/ruoyi-ui/src/views/doctor/index.vue
+++ b/ruoyi-ui/src/views/doctor/index.vue
@@ -646,7 +646,7 @@
       // 鏁版嵁鑼冨洿閫夐」
       fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
         '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng',
-		'.m4a'],
+		'.m4a','.M4A'],
       fileList:[],
       fileList1:[],
       	  uploadFileList: [],
@@ -884,6 +884,8 @@
     },
     getList1() {
           let userId = this.$store.state.user.userId
+		  
+		  this.userOptions = []
           showShareUser(userId, 2019).then(response=>{
           			  console.log("===========ddddddddddddd")
           			  console.log(response.data)
@@ -919,6 +921,11 @@
       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);

--
Gitblit v1.9.1