This commit is contained in:
gcw_IJ7DAiVL
2025-09-10 08:30:28 +08:00
parent b2e2ce4343
commit 0c59002bd4

View File

@ -829,7 +829,7 @@ export default {
},
async calculateShortestPath() {
if (!this.pointQD || !this.pointZD || !this.roadNetworkGeoJSON) {
alert('请先加载路网数据并绘制障碍面、起点和终点!')
this.$message.warning('请先加载路网数据并绘制障碍面、起点和终点!')
return
}
this.shortestPathLayer.clear()