bigsu
bigsu
如果你配置的不是https的话,直接把天气接口地址修改为这个就可以http://www.94994.com/myapp/weather/data/index.php?cityID=
``` function findShortestPath(graph, start, end) { const pathFinder = npath.aGreedy(graph, { distance(fromNode, toNode, link) { return link.data.weight; } }); const pathResult = pathFinder.find(start, end); const shortestPath = pathResult.map(node => node.id.split(',').map(Number));...
Yes, I found that duplicating vertices causes the program to crash. It bothered me for a long time
btw,program crash may be caused by duplicate coordinates
Yes, I am also confused. This error only occurs after packaging.It works fine in vscode