|
@@ -302,8 +302,12 @@ export default {
|
|
|
}
|
|
|
this.loginBtnLoading = true;
|
|
|
|
|
|
- const hasNewVersion = await this.checkNewVersion();
|
|
|
- if (hasNewVersion) return;
|
|
|
+ try {
|
|
|
+ const hasNewVersion = await this.checkNewVersion();
|
|
|
+ if (hasNewVersion) return;
|
|
|
+ } catch (error) {
|
|
|
+ console.log("检测新版本出错");
|
|
|
+ }
|
|
|
|
|
|
this.loginTimeout = setTimeout(() => {
|
|
|
this.loginBtnLoading = false;
|