From c1147646b9ef1d713a202d7ab8cf3ea8d677f142 Mon Sep 17 00:00:00 2001 From: wlzboy <66905212@qq.com> Date: 星期六, 27 九月 2025 21:56:54 +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