We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b0f4f commit 3682dceCopy full SHA for 3682dce
web/src/permission.js
@@ -36,7 +36,7 @@ async function handleKeepAlive(to) {
36
37
router.beforeEach(async(to, from, next) => {
38
const userStore = useUserStore()
39
- to.meta.matched = JSON.parse(JSON.stringify(to.matched))
+ to.meta.matched = [...to.matched]
40
handleKeepAlive(to)
41
const token = userStore.token
42
// 在白名单中的判断情况
0 commit comments