fix bug
This commit is contained in:
@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user