From 590794315aa2dff6b91354c83c9e7a1e7c908ff0 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 30 六月 2023 19:59:42 +0800
Subject: [PATCH] 代码整合

---
 Source/UBCS-WEB/src/components/file/main.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/file/main.vue b/Source/UBCS-WEB/src/components/file/main.vue
index 370eea5..cfbd438 100644
--- a/Source/UBCS-WEB/src/components/file/main.vue
+++ b/Source/UBCS-WEB/src/components/file/main.vue
@@ -364,14 +364,17 @@
     },
     handleDownload(row) {
       //window.open(`${row.link}`);
+      let data=new FormData();
       if(row && row.oid){
-        download({fileOids:row.oid})
+        data.append('fileOids',row.oid)
+        download(data)
       }else{
         if (this.selectionList.length === 0) {
-          this.$message.warning("璇烽�夋嫨鑷冲皯涓�鏉℃暟鎹�");
+          this.$message.warning("璇烽�夋嫨鑷冲皯涓�鏉℃暟鎹�");x
           return;
         }
-        download({fileOids:this.oids});
+        data.append('fileOids',this.oids)
+        download(data);
       }
     },
     rowDel(row) {

--
Gitblit v1.9.3