zhengyiming
4 天以前 d2c191181bc69a5f39ee8a40c530a30cc097e1ac
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">