From 64d2a748e47ecba9ae0e0974c523f70ebe7e2f7e Mon Sep 17 00:00:00 2001 From: ronger Date: Mon, 28 Jun 2021 10:32:13 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BF=AE=E6=94=B9=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/archive/list.vue | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/components/archive/list.vue b/components/archive/list.vue index 497de54..f9938ff 100644 --- a/components/archive/list.vue +++ b/components/archive/list.vue @@ -4,7 +4,7 @@
-

@@ -31,8 +31,7 @@
- + {{ article.articleAuthorName }} {{ article.timeAgo }} @@ -76,19 +75,6 @@ export default { currentChange(page) { this.$emit('currentChange', page); }, - onRouter(name, data) { - if ("article" === name) { - this.$router.push({ - path: data - }) - } else { - this.$router.push( - { - path: '/user/' + data - } - ) - } - }, isPerfect(articlePerfect) { return articlePerfect === '1'; }