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