Fix captcha replay issue.
This commit is contained in:
parent
782587b1a7
commit
6994a3a691
1 changed files with 2 additions and 0 deletions
|
@ -408,6 +408,8 @@ export class Login extends Component<any, State> {
|
||||||
|
|
||||||
handleRegenCaptcha(i: Login) {
|
handleRegenCaptcha(i: Login) {
|
||||||
i.audio = null;
|
i.audio = null;
|
||||||
|
i.state.captchaPlaying = false;
|
||||||
|
i.setState(i.state);
|
||||||
WebSocketService.Instance.send(wsClient.getCaptcha());
|
WebSocketService.Instance.send(wsClient.getCaptcha());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue