antvis / G6VP

G6VP is an online visual analysis tool for graphs and a low-code platform for building graph applications.
https://insight.antv.antgroup.com
Apache License 2.0
797 stars 109 forks source link

G6VP网站中导出的html源码中,运行之后工具栏的图标没有任何显示 #578

Open keepon-01 opened 7 months ago

keepon-01 commented 7 months ago

Screenshot 2024-01-18 151642

您好,如图所示html源码运行之后,工具栏的任何小工具都没有图标显示

pomelo-nwu commented 7 months ago

@keepon-01 看下network,应该是本地运行的时候,icon请求地址是:file://xxx/xxx/xxx 而非 http,用 http-server -p 9001 类似工具修改下就行

keepon-01 commented 7 months ago

谢谢您的答复,我在本地运行之后已看到network中,确实有些请求地址是file://xxx/xxx/xxx 而非 http, 但您说得http-server -p 9001指的是本地启动一个http服务吗,这个的作用是啥,没太理解