yukangzhe 3 anni fa
parent
commit
ed2252f682
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      pages/myself/myself.js

+ 4 - 1
pages/myself/myself.js

@@ -18,7 +18,10 @@ Page({
 
   callPhone(){
     wx.makePhoneCall({
-      phoneNumber: '13222222222'
+      phoneNumber: '13222222222',
+      fail(res){
+        console.log('取消拨打')
+      }
     })
   },