doum
2025-08-22 391c0cfc4ba595ef26c7a2315c555d8c75afec7d
small-program/store/index.js
@@ -16,10 +16,11 @@
      statusbarHeight: statusbarHeight || '',
      userInfo: userInfo || {},
      token: token || '',
      openid: token || '',
      openid: openid || '',
      
      latitude: '',
      longitude: ''
      longitude: '',
      address:'定位中'
   },
   mutations: {
      // 设置导航栏高度
@@ -49,6 +50,8 @@
         console.log(obj)
         state.latitude = obj.latitude
         state.longitude = obj.longitude
         state.address = obj.address
         console.log("=====================",obj)
      },
      // 清除缓存数据
      empty(state) {