Replies: 1 comment
-
检查一下是不是项目中有多个版本的 X6 造成的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在vue 2 里面使用 x6, 运行graph的svg图都挺好,然后看到可以用html,就试了一下html的例子。我的version是 "@antv/x6": "^2.11.3".
但是运行代码的时候报错
TypeError: antv_x6__WEBPACK_IMPORTED_MODULE_11_.Shape.HTML.register is not a function。我用的最新版本,是哪里出了问题
Beta Was this translation helpful? Give feedback.
All reactions