mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 21:52:53 +08:00
fix-修复拨打电话未调用原生插件的问题
This commit is contained in:
@@ -104,13 +104,16 @@ export default {
|
||||
this.show = true // 显示确认对话框
|
||||
},
|
||||
contact() {
|
||||
const a = document.createElement('a')
|
||||
a.href = `tel:'${this.ybOrderDTOList.appntPhone}'`
|
||||
a.click()
|
||||
this.show = false
|
||||
EWebBridge.webCallAppInJs('callSystem', {
|
||||
system: 'tel',
|
||||
number: this.ybOrderDTOList.appntPhone
|
||||
})
|
||||
},
|
||||
callPhone(phoneNumber) {
|
||||
window.location.href = 'tel://' + phoneNumber
|
||||
EWebBridge.webCallAppInJs('callSystem', {
|
||||
system: 'tel',
|
||||
number: phoneNumber
|
||||
})
|
||||
},
|
||||
getYBRenewalInfo() {
|
||||
// let params = {
|
||||
|
||||
Reference in New Issue
Block a user