src/components/waylinetool/index.vue
@@ -596,7 +596,7 @@ const regx = /<Placemark>([\s\S]*?)<\/Placemark>/g const points = content.match(regx) || [] // 当前选中的点 const currentPoint = points[currentPosition.value] const currentPoint = points[currentPosition.value] || '' const actionRegx = /<wpml:action>([\s\S]*?)<\/wpml:action>/g const actionsKML = currentPoint.match(actionRegx) btnList.value.forEach((sBtn: sBtn) => {