From 0b733984acbbc018511fba1ce3ce913d71639f64 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 21 十月 2020 10:35:06 +0800
Subject: [PATCH] 2020-10-21

---
 src/views/index/dynamicDetail.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/index/dynamicDetail.vue b/src/views/index/dynamicDetail.vue
index 647a4b1..d55396e 100644
--- a/src/views/index/dynamicDetail.vue
+++ b/src/views/index/dynamicDetail.vue
@@ -66,12 +66,14 @@
   methods: {
     jumpmenu (menuId) {
       if (!menuId) return
+      menuId = menuId + '.html'
+
       this.$router.push({name: 'dynamicdetail', params: {menuId: menuId}})
     },
     loaddata () {
       let param = {
         func: 'Web_News_GetDetail',
-        ID: this.menuId
+        ID: this.menuId.replace('.html', '')
       }
       this.Service.getParamData(param).then(res => {
         this.data = res
@@ -171,6 +173,7 @@
       }
     }
     .dynamic_b {
+      padding: .4rem 0;
       p {
         margin-bottom: 0.2rem;
       }

--
Gitblit v1.8.0