mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 12:47:27 +08:00
fix(login): clear last interval when calling checkQrCodeLogin (#2094)
Fixed #2093
This commit is contained in:
parent
dd6d4bf1c6
commit
4ec550dc46
|
@ -261,6 +261,8 @@ export default {
|
|||
});
|
||||
},
|
||||
checkQrCodeLogin() {
|
||||
// 清除二维码检测
|
||||
clearInterval(this.qrCodeCheckInterval);
|
||||
this.qrCodeCheckInterval = setInterval(() => {
|
||||
if (this.qrCodeKey === '') return;
|
||||
loginQrCodeCheck(this.qrCodeKey).then(result => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user