小程序使用canvas报错:"canvasToTempFilePath: fail canvas is empty"
摘要:小程序使用canvas报错:"canvasToTempFilePath: fail canvas is empty" 为啥呢? 因为在自定义组件中使用canvas 需要添加this参数 wx.canvasToTempFilePath({ x: 0, y: 0, width: 581 * util.p
阅读全文
posted @ 2021-10-31 12:03