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

G2 5.1.2 umd 版本在 ob 上报错 #5548

Closed
pearmini opened this issue Sep 15, 2023 · 5 comments · Fixed by #5559
Closed

G2 5.1.2 umd 版本在 ob 上报错 #5548

pearmini opened this issue Sep 15, 2023 · 5 comments · Fixed by #5559
Labels

Comments

@pearmini
Copy link
Member

pearmini commented Sep 15, 2023

image

@pearmini
Copy link
Member Author

可能是 target 从 es6 变成 es5 之后的问题。

@iceabing
Copy link

这个怎么解决的啊,我也遇到同样的问题

@2239058652
Copy link

这个怎么解决啊,我也遇到同样的问题

他妈的,真是服了,切换成5.10 <script src="https://cdn.bootcdn.net/ajax/libs/antv-g2/5.1.0/g2.min.js"></script>版本就可以了,他妈的,他最近的俩个版本都是错误的

@2239058652
Copy link

不仅仅是5.1.2,从5.1.0之后都是错误的,看了一下源码,会一直报_marks未定义的错误

@pearmini
Copy link
Member Author

相同的问题:#5552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants