zhengyiming
4 天以前 17a3897c219b4d1348c01101ab7d25005384aedd
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,17 @@
  return { marginLeft: px, marginRight: px };
});
const refRandomId = Math.random().toString(36).slice(-8);
const systemInfo = Taro.getSystemInfoSync();
console.log('systemInfo: ', systemInfo);
const tabsStyle = computed(() => {
  if (systemInfo.platform === 'ios') {
    return { overflow: 'visible' };
  } else {
    return {};
  }
});
</script>
<style lang="scss">