We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
初始化图实例后立即调用getZoom函数报错: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getZoom')
getZoom
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getZoom')
No response
let graph = new Graph({ ... }); console.log(graph.getZoom());
🆕 5.x
The text was updated successfully, but these errors were encountered:
render 为异步操作,先 await 再调用 getZoom()
render
getZoom()
Sorry, something went wrong.
No branches or pull requests
Describe the bug / 问题描述
初始化图实例后立即调用
getZoom
函数报错:Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getZoom')
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: