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

(请教)为啥在Nav.vue组件中写一个setPath方法 #5

Open
nightmaring opened this issue Sep 6, 2017 · 0 comments
Open

(请教)为啥在Nav.vue组件中写一个setPath方法 #5

nightmaring opened this issue Sep 6, 2017 · 0 comments

Comments

@nightmaring
Copy link

nightmaring commented Sep 6, 2017

请问给router-link绑定链接的时候,为啥不直接m.path,而需要写一个setPath方法返回?这样写是有什么特殊含义吗?

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