From 00e46dcc41d259b33e6c6c9771b7e2fe2ab95401 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 04 Aug 2022 18:45:58 +0800
Subject: [PATCH] 更新消息盒子

---
 src/components/mini/box3-archive.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/components/mini/box3-archive.vue b/src/components/mini/box3-archive.vue
index 78c36b7..f9bc2d1 100644
--- a/src/components/mini/box3-archive.vue
+++ b/src/components/mini/box3-archive.vue
@@ -1,19 +1,20 @@
 <template>
 	<div class="blog-container archive">
 		<span class="blog-pigeonhole">
-			<router-link to="/tagTime?type=1">
+			<router-link :to="{name:'tagTime'}">
 				归档信息
 			</router-link>
 		</span>
 		<div class="blog-scroll ">
 			<div v-for="yearData in myData">
-				<router-link to="/tagTime?type=2">
+				<router-link :to="{name:'tagTime',query:{year:yearData.year}}">
 					<p class="blog-pigeonhole-p">{{yearData.year}}年</p>
 				</router-link>
 				<div class="blog-pigeonhole-list">
 
 					<div class="blog-pigeonhole-item" v-for="item in yearData.list">
-						<router-link to="/tagTime?type=3">
+						<router-link :to="{name:'tagTime',
+						query:{year:yearData.year,month:item.month}}">
 							<span>{{item.month}}月</span>
 						</router-link>
 						<span>{{item.count}}篇</span>

--
Gitblit v1.9.1