fix: 解决扫码登录操作太快无法登录的问题

This commit is contained in:
qiufeng
2023-01-30 14:48:54 +08:00
parent 0d1f8c524f
commit 7d29e5562c
2 changed files with 3 additions and 3 deletions
@@ -243,11 +243,11 @@ let app = new Vue({
case '1':
app.scanStatus = scanStatus.已扫描
app.qrCodeDesc = "手机确认登录";
app.qrCodeName = result.data.account;
break;
case '2':
clearInterval(timer);
app.scanStatus = scanStatus.已确认
app.qrCodeName = result.data.account;
app.qrCodeSecret = code + "," + result.data.secret;
break;
case '3':
+2 -2
View File
@@ -28,7 +28,7 @@ App({
},
globalData: {
userInfo: null,
// domain: 'http://localhost:8888/oauth2'
domain: 'http://app.mfish.com.cn:11116/oauth2'
domain: 'http://localhost:8888/oauth2'
// domain: 'http://app.mfish.com.cn:11116/oauth2'
}
})