index.vue
535 Bytes
<script lang="ts" setup>
  import { ComponentPropsConfigType, DataFetchUpdateFn } from '/@/views/visual/packages/index.type';
  import { option } from './config';
  import { useDataFetch } from '/@/views/visual/packages/hook/useSocket';
  const props = defineProps<{
    config: ComponentPropsConfigType<typeof option>;
  }>();
  const updateFn: DataFetchUpdateFn = (_message) => {};
  useDataFetch(props, updateFn);
</script>
<template>
  <main class="w-full h-full flex flex-col justify-center items-center"> </main>
</template>