From f8d321a4f7970cb1cdb99cf1d5864180f217c5f2 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 07 七月 2023 18:38:38 +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