From 07ca2d96c6f38a2a38f958d1771b6b9848f0ce0d Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期五, 15 十二月 2023 15:43:11 +0800
Subject: [PATCH] bug修改

---
 src/views/components/details.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/components/details.vue b/src/views/components/details.vue
index 7c82390..6709865 100644
--- a/src/views/components/details.vue
+++ b/src/views/components/details.vue
@@ -161,7 +161,7 @@
         e.preventDefault();
         const file = {
             fileUrl: e.target.href,
-            fileName: e.target.download
+            fileName: e.target.innerHTML
         }
         axios.get( file.fileUrl,{
                 headers:
@@ -229,12 +229,12 @@
   display: flex;
   flex-direction: column;
   align-items: center;
-  margin-top: 170px;
+  margin-top: 150px;
 
   .header{
     width: 1200px;
     height: 60px;
-    margin: 20px 0 0;
+    margin: 15px 0 0;
     padding: 0 15px;
     border-radius: 4px;
     background: #f5f5f5;
@@ -252,7 +252,7 @@
     box-shadow: 1px 1px 3px rgba(0,0,0,.04);
     padding: 20px 15px 40px;
     background: #fff;
-    max-height: calc(100vh - 330px);
+    max-height: calc(100vh - 280px);
     overflow-y: auto;
 
     .title{

--
Gitblit v1.9.2