fix
This commit is contained in:
@ -829,7 +829,7 @@ export default {
|
||||
},
|
||||
async calculateShortestPath() {
|
||||
if (!this.pointQD || !this.pointZD || !this.roadNetworkGeoJSON) {
|
||||
alert('请先加载路网数据并绘制障碍面、起点和终点!')
|
||||
this.$message.warning('请先加载路网数据并绘制障碍面、起点和终点!')
|
||||
return
|
||||
}
|
||||
this.shortestPathLayer.clear()
|
||||
|
||||
Reference in New Issue
Block a user