首页 > 微信开发下,调用的uploadImage接口,ios设备无法显示图片

微信开发下,调用的uploadImage接口,ios设备无法显示图片

我的代码如下:
wx.ready(function(){

                $('body').on('touchend',function(){
                    alert($('#otherPhoto')[0].outerHTML);
                })
                wx.downloadImage({
                    serverId: TheOtherRecordId.toString(), 
                    isShowProgressTips: 0, 
                    success: function (res) {
                        var localId = res.localId;
                        HdGame.tlog(localId);
                        $('#otherPhoto').attr("src",localId.toString());
                        HdGame.tlog(aysclOtherPlayer.Endscale);
                    },
                    fail: function(){
                        HdGame.tlog('图片下载失败!');
                    }
                });
            })
            
            
            

不知道为什么,在安卓设备下图片显示正常,但是ios下面就显示失败。。。。望大神指点江山


标题是uploadImage,内容是downloadImage,确定没有搞混?

【热门文章】
【热门文章】