在安卓上wx.request和wx.chooseImage的问题
一个是wx.request会出错,返回request:fail ssl hand shake error,服务器用的是let's encrypt的证书,nginx配置如下: #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; ssl_ciphers AES128+EECDH:AES128+EDH:!aNULL; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl on; ssl_certificate /root/ssl/chained.pem; ssl_certificate_key /root/ssl/domain.key; 在iOS上一切正常。 还有一个问题是在安卓上使用wx.chooseImage能正常进入success并获取图片,但是之后屏幕会闪一下然后就跟刷新了一样,还触发了onShow [代码]on_add_pic:[代码][代码]function[代码][代码](){[代码][代码] [代码][代码]if[代码] [代码](uploading)[代码][代码]return[代码][代码];[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]wx.chooseImage({[代码][代码] [代码][代码]count:1,[代码][代码] [代码][代码]sizeType: [[代码][代码]'compressed'[代码][代码]],[代码][代码] [代码][代码]sourceType: [[代码][代码]'album'[代码][代码],[代码][代码]'camera'[代码][代码]],[代码][代码] [代码][代码]success: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]var[代码] [代码]p_list = that.data.pic_list;[代码][代码] [代码][代码]if[代码] [代码](p_list.length < 3)[代码][代码] [代码][代码]{[代码][代码] [代码][代码]p_list.push(res.tempFilePaths[i]);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]that.setData({ pic_list: p_list});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail:[代码][代码]function[代码][代码](){},[代码][代码] [代码][代码]complete:[代码][代码]function[代码][代码](){}[代码][代码] [代码][代码]});[代码][代码]},[代码]