tabbar.vue 467 B

123456789101112131415161718192021
  1. <script lang="ts" setup>
  2. import { useThemeStore } from '@/store'
  3. import FgTabbar from '@/tabbar/index.vue'
  4. const themeStore = useThemeStore()
  5. const testUniLayoutExposedData = ref('testUniLayoutExposedData')
  6. defineExpose({
  7. testUniLayoutExposedData,
  8. })
  9. </script>
  10. <template>
  11. <wd-config-provider :theme-vars="themeStore.themeVars" :theme="themeStore.theme">
  12. <slot />
  13. <FgTabbar />
  14. <wd-toast />
  15. <wd-message-box />
  16. </wd-config-provider>
  17. </template>