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, }; }, });