二手车交易,打电话添加取消按钮事件
This commit is contained in:
@ -169,7 +169,9 @@ export default {
|
|||||||
this.recordType=2
|
this.recordType=2
|
||||||
this.getDuration()
|
this.getDuration()
|
||||||
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
||||||
})
|
}).catch(() => {
|
||||||
|
// on cancel
|
||||||
|
});
|
||||||
},
|
},
|
||||||
onChange(index) {
|
onChange(index) {
|
||||||
this.current = index;
|
this.current = index;
|
||||||
|
@ -106,7 +106,9 @@ export default {
|
|||||||
this.recordType=2
|
this.recordType=2
|
||||||
this.getDuration()
|
this.getDuration()
|
||||||
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
||||||
})
|
}).catch(() => {
|
||||||
|
// on cancel
|
||||||
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user