From 457b4434045e6eb9940052c7cba7b9e6c284bfb4 Mon Sep 17 00:00:00 2001
From: LiuHao <liuhaoai545@gmail.com>
Date: 星期日, 02 四月 2023 21:40:03 +0800
Subject: [PATCH] fix animation and router type

---
 src/types/router.d.ts |    2 +-
 src/animate.ts        |   14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/animate.ts b/src/animate.ts
index add6be8..8cfe4f5 100644
--- a/src/animate.ts
+++ b/src/animate.ts
@@ -21,22 +21,22 @@
 	animatePrefix + 'animate__lightSpeedIn'
 ];
 // 鍏抽棴闅忔満鍔ㄧ敾鍚庣殑榛樿鏁堟灉
-const defaultAnimate = animatePrefix + 'animate__bounceIn';
+const defaultAnimate = animatePrefix + 'animate__fadeIn';
 // 鎼滅储闅愯棌鏄剧ず鍔ㄧ敾
 const searchAnimate = {
-	enter: animatePrefix + 'animate__flipInX',
-	leave: animatePrefix + 'animate__bounceOut'
+	enter: '',
+	leave: ''
 };
 
 // 鑿滃崟鎼滅储鍔ㄧ敾
 const menuSearchAnimate = {
-	enter: animatePrefix + 'animate__fadeInLeft',
-	leave: animatePrefix + 'animate__fadeOutLeft'
+	enter: animatePrefix + 'animate__fadeIn',
+	leave: animatePrefix + 'animate__fadeOut'
 };
 // logo鍔ㄧ敾
 const logoAnimate = {
-	enter: animatePrefix + 'animate__bounceIn',
-	leave: animatePrefix + 'animate__bounceOut'
+	enter: animatePrefix + 'animate__fadeIn',
+	leave: animatePrefix + 'animate__fadeOut'
 };
 
 export default {
diff --git a/src/types/router.d.ts b/src/types/router.d.ts
index bea70a6..07d177f 100644
--- a/src/types/router.d.ts
+++ b/src/types/router.d.ts
@@ -11,7 +11,7 @@
 		parentPath?: string;
 		meta?: {
 			title: string;
-			icon?: string;
+			icon: string;
 		};
 	} & RouteRecordRaw;
 

--
Gitblit v1.9.3