|  | @@ -215,7 +215,13 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      const checkForm = () => {
 | 
	
		
			
				|  |  | -      if (!studentInfo.extra.nickname) {
 | 
	
		
			
				|  |  | +      if (!checkPhone(studentInfo.username)) {
 | 
	
		
			
				|  |  | +        showToast('请输入正确的手机号码');
 | 
	
		
			
				|  |  | +        return true;
 | 
	
		
			
				|  |  | +      } else if (!studentInfo.password) {
 | 
	
		
			
				|  |  | +        showToast('请输入验证码');
 | 
	
		
			
				|  |  | +        return true;
 | 
	
		
			
				|  |  | +      } else if (!studentInfo.extra.nickname) {
 | 
	
		
			
				|  |  |          showToast('请输入学生姓名');
 | 
	
		
			
				|  |  |          return true;
 | 
	
		
			
				|  |  |        } else if (!studentInfo.extra.currentGradeNum) {
 | 
	
	
		
			
				|  | @@ -224,12 +230,6 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        } else if (!studentInfo.extra.currentClass) {
 | 
	
		
			
				|  |  |          showToast('请选择所在班级');
 | 
	
		
			
				|  |  |          return true;
 | 
	
		
			
				|  |  | -      } else if (!checkPhone(studentInfo.username)) {
 | 
	
		
			
				|  |  | -        showToast('请输入正确的手机号码');
 | 
	
		
			
				|  |  | -        return true;
 | 
	
		
			
				|  |  | -      } else if (!studentInfo.password) {
 | 
	
		
			
				|  |  | -        showToast('请输入验证码');
 | 
	
		
			
				|  |  | -        return true;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        return false;
 | 
	
		
			
				|  |  |      };
 |