Selaa lähdekoodia

修改随机码登录loading问题

11wqe1 4 viikkoa sitten
vanhempi
commit
c5de6c5613
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/login/loginPage.vue

+ 1 - 1
src/views/login/loginPage.vue

@@ -1246,7 +1246,6 @@ export default {
 			if (!reg.test(this.icode)) {
 				this.$message.error(this.lang.codecorrectly);
 				this.nextStepsLoading = false
-
 				return;
 			}
 
@@ -1267,6 +1266,7 @@ export default {
 						await this.getClassName(res.data[0][0].classid)
 						this.getClass(res.data[0][0].classid);
 					} else {
+						this.nextStepsLoading = false
 						this.$message.error(this.lang.codenotexist);
 					}