default.vue 408 B

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