Wechat JS-SDK load verification process
Reference link: http://blog.bwphp.cn/?p=617 wx.config ({debug: true, appId:', timestamp:, nonceStr:', signature:', jsApiList: ['uploadImage','downloadImage']}) Wx.ready (function () {wx.checkJsApi ({jsApiList: ['chooseImage'], success: function (res) {}}); wx.chooseImage ({success: function (res) {var localIds = res.localIds;}});}) Wx.error (function (res) {alert ('no');})