Q.请问获取手机号是要企业小程序吗,真机测试点了确定没反应?
A.要有获取手机号码的权限
Q.微信开发者工具本地: 报错 :
VM22:1 thirdScriptError
Cannot convert undefined or null to object;at api request success callback function
TypeError: Cannot convert undefined or null to object
at t.keys ()
at success (http://127.0.0.1:47631/appservice/pages/index/index.js:262:35)
at Function.o. (http://127.0.0.1:47631/appservice/dev/WAService.js:1:1179438)
at http://127.0.0.1:47631/appservice/dev/WAService.js:1:107717
at C (http://127.0.0.1:47631/appservice/dev/WAService.js:1:438737)
at i. (http://127.0.0.1:47631/appservice/dev/WAService.js:1:737668)
at i.emit (http://127.0.0.1:47631/appservice/dev/WAService.js:1:485476)
at Ii (http://127.0.0.1:47631/appservice/dev/WAService.js:1:738306)
at http://127.0.0.1:47631/appservice/dev