yukangzhe 3 years atrás
parent
commit
ed2252f682
1 changed files with 4 additions and 1 deletions
  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('取消拨打')
+      }
     })
   },