zhengyiming
3 天以前 dcd0d6b23d722a9016a6d1a98557eb5f9e18e4a2
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">