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

这个 route 没有在上下文中出现过。请问这个变量从哪里来? #5

Closed
Dante-dan opened this issue Dec 5, 2020 · 2 comments

Comments

@Dante-dan
Copy link
Contributor

Dante-dan commented Dec 5, 2020

这个地方是想写 router 还是 router.route 呢?

而且这个 route 变量也没有被使用到呀? 从这里看,传与不传没有区别呀

beforeLocationChange(route, (state) => {

beforeLocationChange(route, (state) => {

@hangaoke1
Copy link
Collaborator

哈哈,这里应该是matchRoute,因为之前维护了内外双版本,没同步好,已fix

@hangaoke1
Copy link
Collaborator

fixed v1.0.10

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

2 participants