From 7ee7e586ba01608a6b4db963b531f71160e0b66a Mon Sep 17 00:00:00 2001 From: aBin Date: Tue, 1 Mar 2022 18:24:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=BA=95=E9=83=A8=E6=A0=8F?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E4=BF=AE=E6=94=B9=20=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=96=B0=E9=97=BB=E5=B0=86=E8=A7=86=E9=A2=91=E6=94=BE=E5=88=B0?= =?UTF-8?q?=E9=A1=B6=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer/Footer.vue | 12 ++++++------ src/components/RichText/RichText.vue | 8 +++++++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/Footer/Footer.vue b/src/components/Footer/Footer.vue index e945417..e4473b3 100644 --- a/src/components/Footer/Footer.vue +++ b/src/components/Footer/Footer.vue @@ -60,18 +60,18 @@ import { getLink } from 'config/api'; export default { data() { return { - isTrue: true, + isTrue: false, str: '', otherLink: {}, }; }, watch: { '$route.path'(value) { - if (value === '/') { - this.isTrue = true; - } else { - this.isTrue = false; - } + // if (value === '/') { + // this.isTrue = true; + // } else { + // this.isTrue = false; + // } }, }, created() { diff --git a/src/components/RichText/RichText.vue b/src/components/RichText/RichText.vue index 1d06cf3..4ed2dea 100644 --- a/src/components/RichText/RichText.vue +++ b/src/components/RichText/RichText.vue @@ -8,6 +8,9 @@
发表日期: {{ $moment(richObj.publishTime).format('YYYY-MM-DD') }}
+
+