From ef23daf3b1c3dd584eaa89282e5b3d747be35c55 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Wed, 17 Sep 2025 15:38:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=20ts=20?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E8=AD=A6=E5=91=8A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/modes/mix/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/modes/mix/index.vue b/src/layouts/modes/mix/index.vue index 02c40659..4f8cb4de 100644 --- a/src/layouts/modes/mix/index.vue +++ b/src/layouts/modes/mix/index.vue @@ -115,7 +115,7 @@ function resolvePath(routePath: string) { // 监听路由变化,确保左侧菜单能随TagsView切换而正确激活 watch( () => route.path, - (newPath) => { + (newPath: string) => { // 获取顶级路径 const topMenuPath = newPath.split("/").filter(Boolean).length > 1 ? newPath.match(/^\/[^/]+/)?.[0] || "/" : "/";