fix bug
This commit is contained in:
@ -78,10 +78,8 @@ export class EditSaleComponentsAddComponent implements OnInit {
|
|||||||
if (str) {
|
if (str) {
|
||||||
console.log(+str);
|
console.log(+str);
|
||||||
if(+str) {
|
if(+str) {
|
||||||
console.log('数字');
|
|
||||||
params.phoneNumber = str
|
params.phoneNumber = str
|
||||||
} else {
|
} else {
|
||||||
console.log('中文');
|
|
||||||
params.name = str
|
params.name = str
|
||||||
}
|
}
|
||||||
return this.service
|
return this.service
|
||||||
|
|||||||
Reference in New Issue
Block a user