图片选择上传,gif图获取到的tempFilePaths却是jpg
wx.chooseImage({ count: 1, sizeType: [ "original" ], sourceType: [ "album" , "camera" ], success: function (res) { let tempPath = res.tempFilePaths[0] console.log( 'tempPath:' + tempPath); console.log( 'tempSize:' + res.tempFiles[0].size); |
代码如上,当选择图片为gif时,返回的地址却是jpg的