From 7bc6b0c7805db48bef4a0ee5477a1681e396347d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 17 一月 2024 10:39:07 +0800
Subject: [PATCH] 新增页面

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

diff --git a/src/views/components/details.vue b/src/views/components/details.vue
index 5f3c534..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:
@@ -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