Преглед на файлове

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;