This commit is contained in:
wangshiming
2022-05-10 17:49:13 +08:00
parent 18e5406745
commit eaece04a09

View File

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