From 6bcd135673be57b00ea68e58f1ae6aef2ac19e21 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 17 Feb 2022 18:30:05 +0800
Subject: [PATCH] 友链接口对接

---
 src/components/swichLabel/main1-show.vue |   27 ++++++++++++++++++++-------
 1 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/src/components/swichLabel/main1-show.vue b/src/components/swichLabel/main1-show.vue
index 45172ae..3bcd6f6 100644
--- a/src/components/swichLabel/main1-show.vue
+++ b/src/components/swichLabel/main1-show.vue
@@ -15,10 +15,12 @@
 		<div class="blog-main">
 
 			<a-row>
-				<a-col v-bind="colApiLeft">
-					<boxLeft></boxLeft>
-					<boxRight></boxRight>
-				</a-col>
+				<keep-alive>
+					<a-col v-bind="colApiLeft">
+						<boxLeft></boxLeft>
+						<boxRight></boxRight>
+					</a-col>
+				</keep-alive>
 
 				<a-col v-bind="colApiMain ">
 					<a-col v-bind="colMini" :style="{'position':'absolute','right':'30px'}">
@@ -28,8 +30,9 @@
 							</a-button>
 						</a-affix>
 					</a-col>
-
-					<router-view class="fade"></router-view>
+					<keep-alive>
+						<router-view class="fade"></router-view>
+					</keep-alive>
 				</a-col>
 
 				<a-col v-bind="colApiRight" ref="myDrawer">
@@ -165,7 +168,17 @@
 		src: url("https://unpkg.zhimg.com/fontawepro@latest/fonts/hytmr55.woff") format("truetype");
 	}
 
-	span,p,a,body,h1,h2,h3,h4,h5,h6,code {
+	span,
+	p,
+	a,
+	body,
+	h1,
+	h2,
+	h3,
+	h4,
+	h5,
+	h6,
+	code {
 		font-family: HYTangMeiRen !important;
 	}
 

--
Gitblit v1.9.1