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">