修复面包屑

This commit is contained in:
piexlmax
2022-03-14 15:08:30 +08:00
parent 253e2a58be
commit 4ac8f5a354
2 changed files with 3 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ async function handleKeepAlive(to) {
router.beforeEach(async(to, from, next) => {
const userStore = useUserStore()
to.meta.matched = JSON.parse(JSON.stringify(to.matched))
handleKeepAlive(to)
const token = userStore.token
// 在白名单中的判断情况