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

页面间传参的问题 #30

Open
githublgf opened this issue Dec 2, 2015 · 2 comments
Open

页面间传参的问题 #30

githublgf opened this issue Dec 2, 2015 · 2 comments

Comments

@githublgf
Copy link

怎么在页面间传参,比如详情页要获取列表页传过来的参数,用js获取url的参数时获取不了

@yuanyoushuiyue
Copy link

遇到同样问题,求破!

@Mrpaker
Copy link

Mrpaker commented Dec 3, 2016

decodeURIComponent(location.href);
然后自己根据'?',"&"分割,这里就不详细说了

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

3 participants