src/components/OpenLayersMap/index.vue
@@ -113,6 +113,7 @@ }, // 添加线路 addLineDraw(toData) { console.log(toData,'11111111') // toData = 'LINESTRING(115.90505364627936 28.740342332731327,115.9119724729309 28.74040302419318,115.90766337913915 28.73566909016844)' if (toData) { // 将数据库点坐标数据转换