diff --git a/stores/useLocationStore.js b/stores/useLocationStore.js index fb6be6d..f6e035f 100644 --- a/stores/useLocationStore.js +++ b/stores/useLocationStore.js @@ -16,8 +16,8 @@ const defalutLongLat = { const useLocationStore = defineStore("location", () => { // 定义状态 - const longitudeVal = ref(null) // 经度 - const latitudeVal = ref(null) //纬度 + const longitudeVal = ref(120.366085) // 经度 + const latitudeVal = ref(36.086656) //纬度 const timer = ref(null) const count = ref(0)