Commit 338efa62 by 前端

Merge branch 'xuyl_dev_v2.11.0' into 'v2.11.0'

优化定时器代码

See merge request !29
2 parents 447e7503 38d5a3c8
......@@ -49,7 +49,7 @@ export default {
verifyQRCodeFailsToOpen: false,
addLoading: false,
qrCodeInterval: null,
qrCodeIntervalList:[],
qrCodeIntervalList: [],
qrcodeUrl: '',
qrCodeVisible: false,
qrcodeId: '',
......@@ -162,7 +162,7 @@ export default {
this.clearAllInterval()
})
},
clearAllInterval(){
clearAllInterval() {
this.qrCodeIntervalList.forEach(item => {
clearInterval(item);
})
......@@ -190,7 +190,7 @@ export default {
},
refreshQrcode: utils.debounce(function () {
this.handleqrCode()
}, 3000)
}, 5000)
},
computed: {
listenChange() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!