Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Taro.getImageInfo( { src: path, success: function (res) { resolve(res) }, fail: function (res) { reject(res) } } ) path为网络图片,在success里面打印出res,结果如图:
getImageInfo在h5端的实现没有将图片下载下来 所以能提供的参数仅限于宽高。