From d24baa104ba8f4a156f9c2d1d74397df6950b619 Mon Sep 17 00:00:00 2001 From: ljt990218 <2511590093@qq.com> Date: Fri, 14 Nov 2025 19:07:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(router):=20=E6=B7=BB=E5=8A=A0=E5=AF=B9?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E9=A1=B5=E9=9D=A2=E8=B7=AF=E5=BE=84=E7=9A=84?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E6=8B=A6=E6=88=AA=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/interceptor.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/router/interceptor.ts b/src/router/interceptor.ts index e5b6046..b4092d5 100644 --- a/src/router/interceptor.ts +++ b/src/router/interceptor.ts @@ -38,6 +38,12 @@ export const navigateToInterceptor = { return false // 明确表示阻止原路由继续执行 } + // 插件页面 + if (url.startsWith('plugin://')) { + FG_LOG_ENABLE && console.log('路由拦截器 4: plugin:// 路径 ==>', url) + path = url + } + // 处理直接进入路由非首页时,tabbarIndex 不正确的问题 tabbarStore.setAutoCurIdx(path) },