Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wx canvasGetImageData 成功回调参数类型错误 #43

Closed
z-ao opened this issue Jul 27, 2019 · 1 comment
Closed

wx canvasGetImageData 成功回调参数类型错误 #43

z-ao opened this issue Jul 27, 2019 · 1 comment
Labels
bug Something isn't working fixed Issue already fixed

Comments

@z-ao
Copy link

z-ao commented Jul 27, 2019

lib.wx.api.d.ts#L11258
type CanvasGetImageDataSuccessCallback应该是三个参数
width: number,
height: number,
data: Uint8ClampedArray

而不是
result: CanvasGetImageDataSuccessCallbackResult,
data: Uint8ClampedArray,

@wechat-miniprogram-admin wechat-miniprogram-admin added bug Something isn't working fixed Issue already fixed labels Jul 31, 2019
@wechat-miniprogram-admin
Copy link
Contributor

fixed in 2.7.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Issue already fixed
Projects
None yet
Development

No branches or pull requests

2 participants