diff --git a/stores/useLocationStore.js b/stores/useLocationStore.js index a5dd2ee..fb6be6d 100644 --- a/stores/useLocationStore.js +++ b/stores/useLocationStore.js @@ -34,7 +34,7 @@ const useLocationStore = defineStore("location", () => { fail: function(data) { longitudeVal.value = defalutLongLat.longitude latitudeVal.value = defalutLongLat.latitude - resole(defalutLongLat) + reject() msg('用户位置获取失败') console.log('失败3', data) }