- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最
btnShareClick : function (){ console.log( "btnShareClick" ); wx.canvasToTempFilePath({ x: 10, y: 10, width: 500, height: 500, destWidth: 100, destHeight: 100, canvasId: 'myCanvas' , success(res) { console.log(res.tempFilePath) }, fail: () => { console.log( 'canvasToTempFilePath fali' ); } }, this ) |
简复现 D
emo
Canvas.toTempFilePath 注意不是wx下