Fix:4568 【旅居商城小程序】订单状态列表,点击联系商家按钮返回后,页面显示“拨打成功”
This commit is contained in:
@@ -612,11 +612,6 @@ export default {
|
|||||||
// 拨打商家电话
|
// 拨打商家电话
|
||||||
uni.makePhoneCall({
|
uni.makePhoneCall({
|
||||||
phoneNumber: order.merPhone,
|
phoneNumber: order.merPhone,
|
||||||
success: () => {
|
|
||||||
uni.showToast({
|
|
||||||
title: '拨打成功'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -358,12 +358,6 @@ export default {
|
|||||||
// 这里可以添加跳转到客服页面或打开客服会话的逻辑
|
// 这里可以添加跳转到客服页面或打开客服会话的逻辑
|
||||||
uni.makePhoneCall({
|
uni.makePhoneCall({
|
||||||
phoneNumber: this.orderInfo.merPhone,
|
phoneNumber: this.orderInfo.merPhone,
|
||||||
success: () => {
|
|
||||||
uni.showToast({
|
|
||||||
title: '正在拨打电话',
|
|
||||||
icon: 'none'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fail: () => {
|
fail: () => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '拨打失败',
|
title: '拨打失败',
|
||||||
|
|||||||
@@ -213,12 +213,6 @@ export default {
|
|||||||
if (res.confirm && this.detail.merPhone) {
|
if (res.confirm && this.detail.merPhone) {
|
||||||
uni.makePhoneCall({
|
uni.makePhoneCall({
|
||||||
phoneNumber: this.detail.merPhone,
|
phoneNumber: this.detail.merPhone,
|
||||||
fail: () => {
|
|
||||||
uni.showToast({
|
|
||||||
title: '拨打电话失败',
|
|
||||||
icon: 'none'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user