https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js (Cannot find "/dist/layout.min.js" in @antv/layout@1.2.0) #4496
rabsondev posted onGitHub
问题描述
We're experiencing this issue with the library and it's affecting us. Has the issue been prioritized?
重现链接
https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js
重现步骤
- Render the graph.
- The rendering fails.
预期行为
The desired outcome is for the script to be found at https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js and the graph should render.
However, the resource is not found at https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js (Cannot find "/dist/layout.min.js" in @antv/layout@1.2.0). This is because https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js was moved to https://unpkg.com/@antv/layout@1.2.0/dist/index.min.js. However, the G6 library is still trying to fetch the resource using https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js instead of the new https://unpkg.com/@antv/layout@1.2.0/dist/index.min.js.
平台
- Web
屏幕截图或视频(可选)
补充说明(可选)
The bug is always present.