From b8ccb337ebb0af43fb541aa7a48f02d29d22291c Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 12 八月 2025 16:23:47 +0800 Subject: [PATCH] fix: 修改bug --- packages/components/src/Tabs/ProTabs.vue | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/packages/components/src/Tabs/ProTabs.vue b/packages/components/src/Tabs/ProTabs.vue index e4d8c51..f15207d 100644 --- a/packages/components/src/Tabs/ProTabs.vue +++ b/packages/components/src/Tabs/ProTabs.vue @@ -6,6 +6,7 @@ direction, { fullHeight, noContent: !showPaneContent, flexTitle, noSmile: !showSmile }, ]" + :style="tabsStyle" > <div :class="['pro-tabs__titles_wrapper', { isTransparent }]"> <scroll-view @@ -403,6 +404,16 @@ return { marginLeft: px, marginRight: px }; }); const refRandomId = Math.random().toString(36).slice(-8); + +const systemInfo = Taro.getSystemInfoSync(); + +const tabsStyle = computed(() => { + if (systemInfo.platform.toLowerCase() === 'ios') { + return { overflow: 'visible' }; + } else { + return {}; + } +}); </script> <style lang="scss"> -- Gitblit v1.9.1