检测脚本

This commit is contained in:
sjl
2024-11-20 15:13:50 +08:00
parent c46a55e9c4
commit 55383cf501
21 changed files with 74 additions and 56 deletions

View File

@@ -69,6 +69,7 @@ router.beforeEach(async (to, from, next) => {
await initDynamicRouter()
return next({ ...to, replace: true })
}
console.log(to)
// 7.存储 routerName 做按钮权限筛选
authStore.setRouteName(to.name as string)