From 1c432ea890d962c00e42583ead2b8d2b2958ef39 Mon Sep 17 00:00:00 2001 From: ZhuRui Date: Wed, 29 Jul 2026 11:03:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E5=BC=95=E8=B5=B7=E7=9A=84=E8=AD=A6=E6=8A=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.less | 4 ++-- src/layouts/BasicLayout.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/styles/index.less b/src/assets/styles/index.less index 2bf63a1..e5c92db 100644 --- a/src/assets/styles/index.less +++ b/src/assets/styles/index.less @@ -123,8 +123,8 @@ a { height: 100%; min-height: 0; transition: - opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), - transform 0.22s cubic-bezier(0.4, 0, 0.2, 1); + opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1), + transform 0.24s cubic-bezier(0.4, 0, 0.2, 1); } .page-fade-slide-enter-from { diff --git a/src/layouts/BasicLayout.tsx b/src/layouts/BasicLayout.tsx index 74fb457..c3ef6b7 100644 --- a/src/layouts/BasicLayout.tsx +++ b/src/layouts/BasicLayout.tsx @@ -249,7 +249,7 @@ export default defineComponent({ v-slots={{ default: ({ Component, route }: any) => ( - + {Component ? h(Component, { key: route.path }) : null}