@@ -47,6 +47,13 @@ async function getData(orderNo: string) {
}
function call() {
+ if (!orderInfo.value.phone) {
+ uni.showToast({
+ title: '暂无联系电话',
+ icon: 'none',
+ })
+ return
+ }
uni.makePhoneCall({
phoneNumber: orderInfo.value.phone,
})