cdn引入后graph.bindKey失效 #4950
Unanswered
xiejing001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
cdn引入后graph.bindKey失效:
const { Graph, Shape } = X6; // 引入版本1.34.8
import { Keyboard } from '@antv/x6-plugin-keyboard';
this.graph = new Graph({...});
this.graph.addPlugin(new Keyboard()); // 报addPlugin方法不存在
// 使用 this.graph.use() 报use不存在
Beta Was this translation helpful? Give feedback.
All reactions