直接传入电话号码就可以了
callPhone(){ // let promise = call.makeCall("138xxxxxxxx"); let promise = call.makeCall(this.phoneNumber); promise.then(() => { console.log(`makeCall success`); }).catch((err:string) => { console.error(`makeCall fail, promise: err->${JSON.stringify(err)}`); }); }