|
@@ -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;
|