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

请问该框架 $bindRoute()这个在上面场景下会使用 #10

Open
Anan2014 opened this issue Dec 29, 2017 · 1 comment
Open

请问该框架 $bindRoute()这个在上面场景下会使用 #10

Anan2014 opened this issue Dec 29, 2017 · 1 comment

Comments

@Anan2014
Copy link

No description provided.

@switer
Copy link
Member

switer commented Dec 29, 2017

只是提供一个便捷的 属性声明的方式 去使用 wxpage 封装的跳转方法:

<button
  bindtap="$bindRoute"
  data-url="/pages/play"
  data-before="onClickBefore"
>click redirect</button>

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