G6 icon indicating copy to clipboard operation
G6 copied to clipboard

使用 react 自定义节点报错

Open xuoutput opened this issue 1 year ago • 1 comments

Describe the bug

参考文档https://g6.antv.vision/zh/docs/manual/middle/elements/nodes/react-node image

Your Example Website or App

1

Steps to Reproduce the Bug or Issue

1

Expected behavior

正常使用

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1] "@ant-design/charts": "^1.4.2", "@ant-design/icons": "^4.7.0", "@antv/g6": "^4.6.18", "@antv/g6-react-node": "^1.4.5", "antd": "^4.22.3", "axios": "^0.27.2", "date-fns": "^2.29.1", "query-string": "^7.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.3.0"

Additional context

No response

xuoutput avatar Aug 12 '22 06:08 xuoutput

请提供在线复现 demo

Yanyan-Wang avatar Aug 19 '22 07:08 Yanyan-Wang