Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引用了就报错guard is not a function 请问什么原因 #62

Open
rocing opened this issue Nov 21, 2022 · 0 comments
Open

引用了就报错guard is not a function 请问什么原因 #62

rocing opened this issue Nov 21, 2022 · 0 comments

Comments

@rocing
Copy link

rocing commented Nov 21, 2022

TypeError: guard is not a function
at routeEnterGuard (vue-router.esm.js:2120:12)
at iterator (vue-router.esm.js:1960:7)
at step (vue-router.esm.js:1734:9)
at runQueue (vue-router.esm.js:1742:3)
at eval (vue-router.esm.js:1996:5)
at step (vue-router.esm.js:1731:7)
at eval (vue-router.esm.js:1735:11)
at eval (vue-router.esm.js:1981:11)
at eval (vue-router.esm.js:1809:22)
at iterator (vue-router.esm.js:1960:7)
at step (vue-router.esm.js:1734:9)
at step (vue-router.esm.js:1738:9)
at runQueue (vue-router.esm.js:1742:3)
at HTML5History.confirmTransition (vue-router.esm.js:1989:3)
at HTML5History.transitionTo (vue-router.esm.js:1891:8)
at VueRouter.init (vue-router.esm.js:2542:13)

@rocing rocing changed the title 主要引用了就报错guard is not a function 引用了就报错guard is not a function 请问什么原因 Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant