收藏
回答

wx.compressImage出现compressImage:fail:decode image?

极少数情况偶现,安卓用户出现这个问题

用户systemInfo:{"screenWidth":360,"cpuType":"T610-Unisoc","phoneCalendarAuthorized":true,"windowHeight":678,"bluetoothEnabled":true,"bluetoothAuthorized":true,"language":"zh_CN","microphoneAuthorized":true,"fontSizeScaleFactor":1,"locationAuthorized":true,"notificationAuthorized":true,"model":"5G","statusBarHeight":32,"safeArea":{"width":360,"right":360,"top":32,"left":0,"bottom":752,"height":720},"brand":"5G","windowWidth":360,"locationEnabled":true,"benchmarkLevel":18,"screenHeight":752,"abi":"arm64-v8a","version":"8.0.50","cameraAuthorized":true,"deviceAbi":"arm64-v8a","system":"Android 11","memorySize":3692,"fontSizeSetting":16,"pixelRatio":1.5,"deviceOrientation":"portrait","wifiEnabled":false,"screenTop":75,"platform":"android","SDKVersion":"3.5.4","enableDebug":false,"devicePixelRatio":1.5,"host":{"env":"WeChat","version":671101528},"mode":"default"}

对应src是这个 看着也没啥问题"wxfile://tmp_904733172a7960dbeb65a04c9c13b228ae4cc99396055aba.jpg"


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

1 个回答

登录 后发表内容