From 26ea2b5e6ea34d4702af6a1c823d9798676b4f17 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Thu, 25 Sep 2025 15:30:20 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes/modules/demo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/routes/modules/demo.ts b/src/router/routes/modules/demo.ts index 4630e21..8bb9047 100644 --- a/src/router/routes/modules/demo.ts +++ b/src/router/routes/modules/demo.ts @@ -15,4 +15,4 @@ const COMPONENTS: AppRouteRecordRaw[] = [ }, ]; -export default import.meta.env.VITE_ENV === 'development' ? COMPONENTS : []; +export default import.meta.env.VITE_ENV !== 'production' ? COMPONENTS : [];