rk
2025-09-28 2304d7b140c5c5b4bf3a83f9ced8bff37d20c42e
small-program/App.vue
@@ -5,11 +5,7 @@
      computed: {
         ...mapState(['userInfo','openid'])
      },
<<<<<<< HEAD
      onLaunch: function() {
=======
      onLaunch: function() {  
>>>>>>> 2d0d3bb6a63ad0aee9d5cc003b50c50391b1cc94
         var that = this;
         that.getLocaltionBiz() 
         if (!this.openid || this.openid =='') {
@@ -50,7 +46,8 @@
            uni.getLocation({
               type: 'wgs84',
               success: (addr) => {
                  const locParam = { latitude: addr.latitude, longitude: addr.longitude ,address:'获取地址失败'};
                  const locParam = { latitude: addr.latitude, longitude: addr.longitude };
                  uni.setStorageSync('address', locParam);
                  var address =null
                  const qqmapsdk = new QQMapWX({
                      key: '4PXBZ-JLBC7-LCLXG-P2SZX-C4HYE-LDBLQ' //腾讯地图申请的key(后续需要公司提供,个人开发者额度有限)