Explorar o código

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

lsc %!s(int64=2) %!d(string=hai) anos
pai
achega
8a064f4adf
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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;