From 271ca6cb0ee2ff0a789bf74d1821e7891a7043bb Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Tue, 30 Aug 2022 21:57:42 +0800
Subject: [PATCH] 自定义表情组件

---
 src/components/group/platformGroup.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/group/platformGroup.vue b/src/components/group/platformGroup.vue
index bf2bad1..2830b59 100644
--- a/src/components/group/platformGroup.vue
+++ b/src/components/group/platformGroup.vue
@@ -1,5 +1,5 @@
 <template>
-
+	
 	<a-tabs :defaultActiveKey="activeKey" @change="changeKey"
 		:tabBarStyle="{'display': 'flex','justify-content': 'center'}">
 		<a-tab-pane :key="keyType.type_1" tab="片刻">
@@ -44,8 +44,9 @@
 					var random = Math.floor(Math.random() * 10);
 					this.activeKey = random >= 8 ?
 						this.keyType.type_3 : (random <= 3 ? this.keyType.type_2 : this.keyType.type_1)
+						
+					this.$router.replace({query:{activeKey:this.activeKey}})
 				}
-				this.$router.replace({query:{activeKey:this.activeKey}})
 			},
 			changeKey(key) {
 				this.activeKey = key

--
Gitblit v1.9.1