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

TypeError: Cannot read properties of null (reading 'index') #26

Open
skyfish-1024 opened this issue May 11, 2024 · 0 comments
Open

TypeError: Cannot read properties of null (reading 'index') #26

skyfish-1024 opened this issue May 11, 2024 · 0 comments

Comments

@skyfish-1024
Copy link

使用Hierarchy.compactBox函数,在dev模式下运行正常,在production模式下会报错:TypeError: Cannot read properties of null (reading 'index')

发生错误的函数为内部函数,似乎是未作非空判断,

  • 操作系统:windows11
  • "@antv/hierarchy": "^0.6.11"
  • "vue": "^3.4.19"
  • "vite": "^5.1.4"

image
image

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