index.vue
570 Bytes
<script lang="ts" setup>
import { ComponentPropsConfigType } from '/@/views/visual/packages/index.type';
import { option } from './config';
import { useDataFetch } from '../hook/socket/useSocket';
import { DataFetchUpdateFn } from '../hook/socket/useSocket.type';
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>