From 199338bd4fe73d295f18b032f8ce65e8e95896b2 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期五, 16 八月 2024 11:02:23 +0800
Subject: [PATCH] bug修改
---
src/views/components/details.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/components/details.vue b/src/views/components/details.vue
index f38d641..2b765a4 100644
--- a/src/views/components/details.vue
+++ b/src/views/components/details.vue
@@ -136,6 +136,7 @@
state.content = res.data
if(state.content.updateTime){state.content.updateTime.substring(0.,16)}
state.content.createTime = state.content.createTime.substring(0.,16)
+ state.content.pubDate = state.content.pubDate.substring(0,10)
}else{
ElMessage.warning(res.message)
}
@@ -161,7 +162,7 @@
e.preventDefault();
const file = {
fileUrl: e.target.href,
- fileName: e.target.download
+ fileName: e.target.innerHTML
}
axios.get( file.fileUrl,{
headers:
@@ -229,7 +230,7 @@
display: flex;
flex-direction: column;
align-items: center;
- margin-top: 160px;
+ margin-top: 150px;
.header{
width: 1200px;
@@ -252,7 +253,7 @@
box-shadow: 1px 1px 3px rgba(0,0,0,.04);
padding: 20px 15px 40px;
background: #fff;
- max-height: calc(100vh - 310px);
+ max-height: calc(100vh - 280px);
overflow-y: auto;
.title{
--
Gitblit v1.9.2