This commit is contained in:
sjl
2024-11-21 10:05:44 +08:00
parent b992b2653a
commit 4de59336b2
17 changed files with 224 additions and 76 deletions

View File

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