浏览代码

修改随机码登录loading问题

11wqe1 4 周之前
父节点
当前提交
c5de6c5613
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)) {
 			if (!reg.test(this.icode)) {
 				this.$message.error(this.lang.codecorrectly);
 				this.$message.error(this.lang.codecorrectly);
 				this.nextStepsLoading = false
 				this.nextStepsLoading = false
-
 				return;
 				return;
 			}
 			}
 
 
@@ -1267,6 +1266,7 @@ export default {
 						await this.getClassName(res.data[0][0].classid)
 						await this.getClassName(res.data[0][0].classid)
 						this.getClass(res.data[0][0].classid);
 						this.getClass(res.data[0][0].classid);
 					} else {
 					} else {
+						this.nextStepsLoading = false
 						this.$message.error(this.lang.codenotexist);
 						this.$message.error(this.lang.codenotexist);
 					}
 					}