From 8761a91f13c0d2f86fe4129c10c2702540e84789 Mon Sep 17 00:00:00 2001 From: wangqiao Date: Mon, 1 Sep 2025 22:02:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E8=B7=AF=E7=94=B1=E8=B7=AF=E5=BE=84=E4=BB=8E?= =?UTF-8?q?/m=E5=88=B0/mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/systom.global.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/systom.global.ts b/middleware/systom.global.ts index d3bea07..3c8ac7e 100644 --- a/middleware/systom.global.ts +++ b/middleware/systom.global.ts @@ -12,7 +12,7 @@ export default defineNuxtRouteMiddleware((to, from) => { // 移动端并且 不是/m开头路由 if (isMobile && !isRouterMobile) { - return navigateTo(`/m`) + return navigateTo(`/mobile`) } // 不是移动端 是/m开头路由 if (!isMobile && isRouterMobile) {