소스 검색

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-teacher-table into beta

lsc 2 년 전
부모
커밋
8a064f4adf
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/components/pages/student.vue

+ 1 - 2
src/components/pages/student.vue

@@ -303,8 +303,7 @@ export default {
         this.$message.error("请为学生选择班级");
         return;
       } else if (
-        this.sPhone != "" &&
-        !/^[1][3,4,5,7,8][0-9]{9}$/.test(this.sPhone)
+        this.sPhone != "" && !/^[1][3,4,5,7,8][0-9]{9}$/.test(this.sPhone)
       ) {
         this.$message.error("手机号格式不正确");
         return;