feat: 路由meta添加activePath可将某个菜单激活,主要用于通过queryparams传参的路由

This commit is contained in:
xiaoxian521
2023-06-13 22:18:23 +08:00
parent 5d86b714a4
commit 58cafbc73f
9 changed files with 135 additions and 110 deletions

View File

@@ -179,6 +179,7 @@ const tabsRouter = {
meta: {
// 不在menu菜单中显示
showLink: false,
activePath: "/tabs/index",
roles: ["admin", "common"]
}
},
@@ -190,6 +191,7 @@ const tabsRouter = {
meta: {
// 不在menu菜单中显示
showLink: false,
activePath: "/tabs/index",
roles: ["admin", "common"]
}
}