import { Logo, TileSuperMapRest, Tianditu, FeatureService, GetFeaturesBySQLParameters, TransportationAnalystResultSetting, TransportationAnalystParameter, FindPathParameters, NetworkAnalystService } from "@supermap/iclient-ol"; findPathProcess() { //创建最佳路径分析参数实例 var resultSetting = new TransportationAnalystResultSetting({ returnEdgeFeatures: true, returnEdgeGeometry: true, returnEdgeIDs: true, returnNodeFeatures: true, returnNodeGeometry: true, returnNodeIDs: true, returnPathGuides: true, returnRoutes: true, }); var analystParameter = new TransportationAnalystParameter({ resultSetting: resultSetting, weightFieldName: "SmLength", }); var findPathParameter = new FindPathParameters({ isAnalyzeById: false, nodes: [ new Point([99.788454, 31.181145]), new Point([101.661121, 29.037998]), new Point([104.983625, 31.358148]), ], hasLeastEdgeCount: false, parameter: analystParameter, }); //进行查找 new NetworkAnalystService(this.serviceUrl).findPath( findPathParameter, (serviceResult)=> { console.log(serviceResult); var guideLayerStyle = new Style.Style({}); var routeLayerStyle = new Style.Style({ stroke: new Style.Stroke({ color: "#00a30bff", width: 7, }), fill: new Style.Fill({ color: "rgba(0, 0, 255, 0.1)", }), }); serviceResult.result.pathList.map((result) => { console.log(result); }); } ); }, 最短路径分析在Vue中的代码如上。运行后的结果中没有任何路线和节点。而我在传统的html中已经做过了一次,运行结果正常。路线也显示出来了。请问怎么在Vue中解决这个问题,实现最短路径?