Commit 5c86b4be by 胡悦

提交

1 parent 99d40f0a
...@@ -366,9 +366,8 @@ export default { ...@@ -366,9 +366,8 @@ export default {
this.active = 1 this.active = 1
if (this.firstStatus) { if (this.firstStatus) {
this.getQrcode() this.getQrcode()
} else {
this.firstStatus = false
} }
this.firstStatus = false
this.timerQrcode = setInterval(this.getStatus, 3000) this.timerQrcode = setInterval(this.getStatus, 3000)
this.tryStatus = 1 this.tryStatus = 1
} else if (this.statusQrcode == 'SUCCESS') { } else if (this.statusQrcode == 'SUCCESS') {
...@@ -378,7 +377,7 @@ export default { ...@@ -378,7 +377,7 @@ export default {
this.tryStatus = 3 this.tryStatus = 3
this.active = 3 this.active = 3
} else { } else {
this.tryStatus == 1 ? this.active = 2 : '' this.tryStatus == 1 ? (this.active = 2) : ''
this.tryStatus = 2 this.tryStatus = 2
this.timerQrcode = setInterval(this.getStatus, 3000) this.timerQrcode = setInterval(this.getStatus, 3000)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!