收藏
回答

getImageInfo获取图片信息,云存储路径和临时路径都不行,为啥呢?

src: '/static/images/album.png',只有这个路径成功获取信息。为啥云存储路径不行呢? 


wx.getImageInfo({

                                // src: getcloudPath,

                                // src: t.tempFiles[0].tempFilePath,

                                src: '/static/images/album.png',

                                complete: (res) => {

                                    console.log("大师傅2");

                                    console.log("getcloudPath--",getcloudPath);

                                  console.log(res);

                                  console.log(res.height);

                                }

                            })


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容