From 0c59002bd4048438b780b43e721a606a56b4796b Mon Sep 17 00:00:00 2001 From: gcw_IJ7DAiVL Date: Wed, 10 Sep 2025 08:30:28 +0800 Subject: [PATCH] fix --- src/views/home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/home.vue b/src/views/home.vue index b62e796..86eb775 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -829,7 +829,7 @@ export default { }, async calculateShortestPath() { if (!this.pointQD || !this.pointZD || !this.roadNetworkGeoJSON) { - alert('请先加载路网数据并绘制障碍面、起点和终点!') + this.$message.warning('请先加载路网数据并绘制障碍面、起点和终点!') return } this.shortestPathLayer.clear()