Commit 115bee0d by yy

end

1 parent 4734a143
...@@ -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') {
......
...@@ -22,6 +22,11 @@ export default { ...@@ -22,6 +22,11 @@ export default {
mounted() { mounted() {
this.$apis.ww.getStatus({}).then(res => { this.$apis.ww.getStatus({}).then(res => {
this.corpAuthModel = res.corpAuthModel this.corpAuthModel = res.corpAuthModel
if(!this.corpAuthModel) {
this.$alert('请联系平台运营配置企微接入模式', {
confirmButtonText: '确定',
})
}
}) })
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!