From 63f5119bcc714c36fe8db21e5461d73eb5a0eaa0 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Mon, 21 Feb 2022 18:47:52 +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