Skip to content

组件内 canvas 相关 API 传入 this 无效 #1

@baranwang

Description

@baranwang
promisify(wx.canvasToTempFilePath)({
    canvasId: 'waveImage'
 }, this).then(res => {
    console.log(res)
})

canvasToTempFilePath: fail canvas is empty 应该是 this 对象没有传入方法中

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions