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

index.esm.js:3718 Uncaught (in promise) TypeError: colorStr.indexOf is not a function at index.esm.js:3718:1 at memoized (index.esm.js:2192:1) #5544

Closed
xiaomingLi opened this issue Sep 14, 2023 · 1 comment

Comments

@xiaomingLi
Copy link

  • G2 Version: 5.0.3
  • Platform: Mac
  • Mini Showcase(like screenshots):
  • CodePen Link:

"ice.js": "^2.6.6",
"@antv/g2": "5.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
ice项目,build.config.ts中的vite配置为:false
启动后,页面报:
index.esm.js:3718 Uncaught (in promise) TypeError: colorStr.indexOf is not a function
at index.esm.js:3718:1
at memoized (index.esm.js:2192:1)
image

@pearmini
Copy link
Member

pearmini commented Sep 14, 2023

升级到最新版本试一试?5.1.2

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

No branches or pull requests

2 participants