提交 0f88827f 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

fix logout bug

上级 a6d0aec9
......@@ -198,7 +198,7 @@ export class Bridge extends EventEmitter {
}
public async logout(): Promise<any> {
log.verbose('PuppetWebBridge', 'quit()')
log.verbose('PuppetWebBridge', 'logout()')
try {
return await this.proxyWechaty('logout')
} catch (e) {
......
......@@ -249,7 +249,9 @@
WechatyBro.glue.loginFactory.loginout()
}
WechatyBro.vars.scanCode = null
WechatyBro.vars.scanCode = null
WechatyBro.glue.loginScope.code = null
checkScan()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册