From fb243f3345c6f3ed7e7c8c2d98c39b5afc782b9a Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 20 十月 2025 10:24:40 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp --- apps/bMiniApp/src/components/Layout/PageLayout.vue | 14 ++------------ 1 files changed, 2 insertions(+), 12 deletions(-) diff --git a/apps/bMiniApp/src/components/Layout/PageLayout.vue b/apps/bMiniApp/src/components/Layout/PageLayout.vue index 7149940..24bff3f 100644 --- a/apps/bMiniApp/src/components/Layout/PageLayout.vue +++ b/apps/bMiniApp/src/components/Layout/PageLayout.vue @@ -44,7 +44,7 @@ import { commonNavigationBarProps } from '../NavigationBar/commonNavigationBar'; import { useSystemStore } from '@/stores/modules/system'; import Taro from '@tarojs/taro'; -import { TabBarPageRouter } from '@/constants'; +import { TabBarPageRouterList } from '@/constants'; import { useAuth } from '@/hooks'; import { Portal } from 'senin-mini/components'; import { usePickProps } from 'senin-mini/hooks'; @@ -89,7 +89,7 @@ const router = Taro.useRouter(); const pageHeightWithTabBar = computed(() => - Object.values(TabBarPageRouter).some((x) => x.toLowerCase() === router.path.toLowerCase()) + TabBarPageRouterList.some((x) => x.toLowerCase() === router.path.toLowerCase()) ); const navigationBarHeight = computed( @@ -102,16 +102,6 @@ : systemStore.pageHeight; 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> -- Gitblit v1.9.1