From 42bc5219b6d14c6aa9ed7175ec9dc818aef7c43b Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期一, 19 五月 2025 17:22:22 +0800 Subject: [PATCH] fix: 增加预估距离 --- ruoyi-ui/src/views/system/gps/map.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/views/system/gps/map.vue b/ruoyi-ui/src/views/system/gps/map.vue index 08bcec3..6d0035e 100644 --- a/ruoyi-ui/src/views/system/gps/map.vue +++ b/ruoyi-ui/src/views/system/gps/map.vue @@ -302,6 +302,14 @@ if(window.initMapFlag){ this.drawTrack(); } + }).catch(error => { + this.loading = false; + // 鏄剧ず鍙嬪ソ鐨勯敊璇彁绀� + if (error.message && error.message.includes("鏈壘鍒拌杞﹁締瀵瑰簲鐨凣PS璁惧")) { + this.$message.warning("璇ヨ溅杈嗘殏鏃燝PS璁惧淇℃伅"); + } else { + this.$message.error(error.message || "鏌ヨGPS杞ㄨ抗澶辫触"); + } }); }, /** 鍧愭爣杞崲鏂规硶 */ -- Gitblit v1.9.1