Skip to content

主动刷新问题 #8

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

Closed
KukuXiaoShuaiBin opened this issue Nov 12, 2019 · 2 comments
Closed

主动刷新问题 #8

KukuXiaoShuaiBin opened this issue Nov 12, 2019 · 2 comments

Comments

@KukuXiaoShuaiBin
Copy link

你好!我想问一下登录失败后怎样刷新验证码呢?

@javaLuo
Copy link
Owner

javaLuo commented Nov 12, 2019

确实缺少一个手动刷新的方法
我来加一个

@javaLuo
Copy link
Owner

javaLuo commented Nov 12, 2019

目前你可以这样做:

<Vcode ref={(obj)=>this.vcode = obj} />

this.vcode.onClick(); // 这个方法将调用内部的重新初始化

@javaLuo javaLuo closed this as completed Dec 10, 2019
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