From 5dfef883049e7f0670f6c6b1b225b233aee41eea Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 03 Mar 2022 01:30:11 +0800 Subject: [PATCH] 评论页刷新策略调整 --- src/components/mini/box-new-article.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/mini/box-new-article.vue b/src/components/mini/box-new-article.vue index ebf3225..9dc0443 100644 --- a/src/components/mini/box-new-article.vue +++ b/src/components/mini/box-new-article.vue @@ -35,7 +35,8 @@ <span class="article-meta__separator" style="margin: 0px 3px ;"> | </span> <span class="article-meta"> <a-icon type="book" /> - <router-link :to="{path:'/mdDetail',query:{id:id}}" class="article-meta__categories"> + <router-link :to="{path:'/articleList',query:{typeId:articleTypeId}}" + class="article-meta__categories"> {{articleTypeName}} </router-link> <!-- <a class="article-meta__categories" href="#"> {{tag}}</a> --> @@ -55,9 +56,13 @@ props: { "index": { default: 0, - },"id": { + }, + "id": { default: 0, }, + "articleTypeId": { + default: null + }, "isTop": { default: 0, }, -- Gitblit v1.9.1