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

$name 和 $curPageName() 的疑问 #60

Closed
Mister-Hope opened this issue Aug 28, 2019 · 0 comments
Closed

$name 和 $curPageName() 的疑问 #60

Mister-Hope opened this issue Aug 28, 2019 · 0 comments

Comments

@Mister-Hope
Copy link
Contributor

$name 已经是一个无效的属性了,而且 $curPageName()杰斯的结果应该就是wxpage()的第一个参数。

所以设置这两个api的意义在哪呢?我没明白这里的好处。我的想法是直接在注册页面之前加一句

option.$name=name;

就可以了啊?

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