zhengyiming
5 小时以前 3c4fc83635a16da91f90d1fae5a50e5cb67645d6
fix: 实名
4个文件已修改
26 ■■■■ 已修改文件
apps/bMiniApp/src/components/Layout/PageLayout.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/project.config.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/src/components/Layout/PageLayout.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/utils/location.ts 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/bMiniApp/src/components/Layout/PageLayout.vue
@@ -103,16 +103,6 @@
  pageHeight = pageHeight + (props.showNavigationBar ? 0 : navigationBarHeight.value);
  return pageHeight + 'px';
});
Taro.getSetting({
  success: function (res) {
    if (!res.authSetting['scope.userLocation']) {
      Taro.authorize({
        scope: 'scope.userLocation',
      });
    }
  },
});
</script>
<style lang="scss">
apps/cMiniApp/project.config.json
@@ -3,8 +3,8 @@
    "description": "",
    "setting": {
        "urlCheck": false,
        "es6": true,
        "enhance": true,
        "es6": false,
        "enhance": false,
        "postcss": false,
        "preloadBackgroundData": false,
        "minified": false,
apps/cMiniApp/src/components/Layout/PageLayout.vue
@@ -103,16 +103,6 @@
  pageHeight = pageHeight + (props.showNavigationBar ? 0 : navigationBarHeight.value);
  return pageHeight + 'px';
});
Taro.getSetting({
  success: function (res) {
    if (!res.authSetting['scope.userLocation']) {
      Taro.authorize({
        scope: 'scope.userLocation',
      });
    }
  },
});
</script>
<style lang="scss">
packages/utils/location.ts
@@ -45,7 +45,7 @@
  }
  static async getLocationImp() {
    let geocoderRes = await this.getLocationByIp().catch(() => this.getLocationByIp());
    let geocoderRes = await this.getLocationByGeocoder().catch(() => this.getLocationByIp());
    console.log('geocoderRes: ', geocoderRes);
    return geocoderRes;