From ccdce9b90421e64c32399248285bfe23c1373481 Mon Sep 17 00:00:00 2001 From: zhaogh <125889169@qq.com> Date: Mon, 11 Jul 2022 10:02:40 +0800 Subject: [PATCH] =?UTF-8?q?v2.2.0=E7=89=88=E6=9C=AC=20src/router/route.ts?= =?UTF-8?q?=20=E9=9D=99=E6=80=81=E8=B7=AF=E7=94=B1=E2=80=9C=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E7=95=8C=E9=9D=A2=E2=80=9D=E5=B7=B2=E5=88=A0=E9=99=A4?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E2=80=9C=E5=BC=80=E5=90=AF=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E8=B7=AF=E7=94=B1=E2=80=9D=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E6=97=A0=E6=B3=95=E6=89=BE=E5=88=B0?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 4c77f70..da607b1 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -24,7 +24,6 @@ import { initBackEndControlRoutes } from '/@/router/backEnd'; const storesThemeConfig = useThemeConfig(pinia); const { themeConfig } = storeToRefs(storesThemeConfig); const { isRequestRoutes } = themeConfig.value; -if (isRequestRoutes) staticRoutes.splice(0, 1); /** * 创建一个可以被 Vue 应用程序使用的路由实例