This commit is contained in:
wangshiming
2022-03-22 15:25:44 +08:00
parent 9cbd590ec0
commit b6b0529fc0

View File

@ -77,6 +77,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
nzContent: this.promoterModal,
nzOnOk: () => {
if (!!!this.promotersTelephone) {
this.service.msgSrv.error('请填写手机号!');
return false;
}
if (typeof this.promotersTelephone === 'string' && !/(^1\d{10}$)/.test(this.promotersTelephone)) {