fix: 修复扫码登录成功后回车还会刷新二维码问题。 (#321)
This commit is contained in:
parent
0adcb79973
commit
b9f2b7f908
|
@ -31,6 +31,7 @@ export default class loginEvent extends EventListener {
|
||||||
time++
|
time++
|
||||||
let res = await this.client.queryQrcodeResult()
|
let res = await this.client.queryQrcodeResult()
|
||||||
if (res.retcode === 0) {
|
if (res.retcode === 0) {
|
||||||
|
inSlider = true
|
||||||
console.log('\n')
|
console.log('\n')
|
||||||
logger.info(logger.green('扫码成功,开始登录...'))
|
logger.info(logger.green('扫码成功,开始登录...'))
|
||||||
console.log('\n')
|
console.log('\n')
|
||||||
|
|
Loading…
Reference in New Issue