瀏覽代碼

Merge remote-tracking branch 'origin/master' into zhangtao

zhangtao 1 天之前
父節點
當前提交
866dafc433
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/subPack-film/order-detail/index.vue

+ 7 - 0
src/subPack-film/order-detail/index.vue

@@ -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,
   })