From 09411a927e3ff6cdd600857fad33dbb80d1ac6c5 Mon Sep 17 00:00:00 2001 From: Lyp Date: Tue, 11 Jul 2023 16:56:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dtransition=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=AF=BC=E8=87=B4=E7=9A=84=E7=99=BD=E5=B1=8F(?= =?UTF-8?q?=E9=87=8D=E7=8E=B0:=20=E7=83=AD=E6=9B=B4=E6=96=B0transition?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E7=BB=84=E4=BB=B6script=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=88=87=E6=8D=A2tab=E5=8D=B3=E5=8F=AF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Main/index.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Main/index.vue b/src/layout/components/Main/index.vue index 23e68ad..b378b3e 100644 --- a/src/layout/components/Main/index.vue +++ b/src/layout/components/Main/index.vue @@ -1,12 +1,20 @@ @@ -39,9 +47,11 @@ return unref(isPageAnimate) ? unref(pageAnimateType) : ''; }); + const mode = import.meta.env.MODE; return { keepAliveComponents, getTransitionName, + mode, }; }, });