摘要: 以上传图片为例 通过input type='file' 上传完成图片后,获取图片 $('#input').files[0] var reader = new FileReader(); reader.readAsDataURL(this.files[0]); reader.onload = func 阅读全文
posted @ 2018-02-26 13:54 飞尽堂前燕 阅读(230) 评论(0) 推荐(0)
摘要: 1.出现 {errMsg: "chooseImage:fail, the permission value is offline verifying"} 错误 a) 确认是否引入JSAPI,并且务必写在wx.ready中 b) 确认config的jsApiList参数 是否有这个调用的方法。 例如 阅读全文
posted @ 2018-02-26 11:53 飞尽堂前燕 阅读(650) 评论(0) 推荐(0)