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

echart都无法集成进去,ctx = __MOR_API__.createCanvasContext(this.data.canvasId, this)ctx为undefined #185

Open
brainee opened this issue Apr 19, 2024 · 1 comment

Comments

@brainee
Copy link

brainee commented Apr 19, 2024

Describe the bug
ctx = MOR_API.createCanvasContext(this.data.canvasId, this)ctx为undefined

To Reproduce
代码地址:https://github.com/brainee/weixin-pages-morjs/tree/main
直接运行npm run dev

Expected behavior
echart能运行

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

@hwaphon
Copy link
Collaborator

hwaphon commented Apr 19, 2024

createCanvasContext 在页面/组件哪个生命周期调用的?

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

2 participants