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

小程序几点建议 #99

Open
rookie0 opened this issue Jul 5, 2020 · 0 comments
Open

小程序几点建议 #99

rookie0 opened this issue Jul 5, 2020 · 0 comments

Comments

@rookie0
Copy link

rookie0 commented Jul 5, 2020

  1. 增加云存储文件支持 cloud://

  2. 小程序 API 调用增加 fail 参数,打印错误方便调试

  3. 文档增加导出图片示例,或能否直接把 canvasId component 挂载到 stage 对象上

stage.ctx.draw(true, setTimeout(() => {
  wx.canvasToTempFilePath({
    canvasId: stage.ctx.canvasId,
    success: res => { },
    fail: err => console.log(err)
  }, stage._hitRender._component)
}, 100))
  1. 期待 2d 版本
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant