MrShi
23 小时以前 742e2a6eb5d0c6c348ae779a8bc8eaa79c958b4f
mini-program/App.vue
@@ -26,7 +26,7 @@
                     // 判断有无用户信息
                     if (res.data.member) {
                        await that.$store.commit('setUserInfo', res.data.member)
                        await that.$store.commit('setOpenId', res.data.member.openid)
                        await that.$store.commit('setOpenId', res.data.member.openId)
                     }
                     // 设置定位
                     await that.checkLocationAuth()
@@ -102,14 +102,13 @@
               success: function (addr) {
                  const locParam = { latitude: addr.latitude, longitude: addr.longitude };
                  const qqmapsdk = new QQMapWX({
                     key: 'FJKBZ-W5BW3-QGV3M-OEJKT-3H5K7-7FFPM'
                     key: 'HEIBZ-QJLLM-SZ36X-6ZBHI-S6Y2J-S6FND'
                  });
                  // 腾讯地图逆地理编码
                  qqmapsdk.reverseGeocoder({
                     locParam,
                     success: function(res) {
                        console.log(res, '==================获取地址');
                        that.$store.commit('setPosition', )
                        that.$store.commit('setPosition', res)
                        that.$isResolve()
                     },
                     fail: (err) => {