/* * @Author: zhaojinfeng 121016171@qq.com * @Date: 2023-07-18 12:23:37 * @LastEditors: zhaojinfeng 121016171@qq.com * @LastEditTime: 2023-07-18 16:11:39 * @FilePath: \vue3\stories\UploadTable.stories.ts * @Description: * */ import type { Meta, StoryObj } from '@storybook/vue3' import ThUploadTable from '../packages/upload-table/index.vue' const meta = { title: '表单组件/UploadTable', component: ThUploadTable, tags: ['autodocs'], args: { accept: '.jpeg,.jpg,.png,.bmp', label1: '文件名称', label2: '图片上传', label3: '操作', fileList: [], }, argTypes: { label1: { control: 'select', options: ['small', 'medium', 'large'] }, }, } satisfies Meta export default meta type Story = StoryObj export const Base: Story = { name: '基本使用', }