fix bug
This commit is contained in:
@ -77,6 +77,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
|||||||
nzContent: this.promoterModal,
|
nzContent: this.promoterModal,
|
||||||
nzOnOk: () => {
|
nzOnOk: () => {
|
||||||
if (!!!this.promotersTelephone) {
|
if (!!!this.promotersTelephone) {
|
||||||
|
this.service.msgSrv.error('请填写手机号!');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (typeof this.promotersTelephone === 'string' && !/(^1\d{10}$)/.test(this.promotersTelephone)) {
|
if (typeof this.promotersTelephone === 'string' && !/(^1\d{10}$)/.test(this.promotersTelephone)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user