feat(storybook): listType说明
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/*
|
||||
* @Author: zhaojinfeng 121016171@qq.com
|
||||
* @Date: 2023-08-16 17:33:41
|
||||
* @LastEditors: peerless_hero peerless_hero@outlook.com
|
||||
* @LastEditTime: 2023-08-30 13:31:32
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-09-14 13:21:59
|
||||
* @FilePath: \vue3\stories\UploadList.stories.ts
|
||||
* @Description:
|
||||
*
|
||||
@ -58,6 +58,13 @@ const meta = {
|
||||
request,
|
||||
filePath: '/',
|
||||
maxsize: 100,
|
||||
listType: 'text',
|
||||
},
|
||||
argTypes: {
|
||||
listType: {
|
||||
control: 'inline-radio',
|
||||
options: ['text', 'picture-card', 'picture'],
|
||||
},
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof ThUploadList>
|
||||
@ -78,6 +85,13 @@ export const VModel: Story = {
|
||||
request,
|
||||
filePath: '/',
|
||||
maxsize: 100,
|
||||
listType: 'text',
|
||||
},
|
||||
argTypes: {
|
||||
listType: {
|
||||
control: 'inline-radio',
|
||||
options: ['text', 'picture-card', 'picture'],
|
||||
},
|
||||
},
|
||||
render: args => ({
|
||||
components: { ThUploadList },
|
||||
|
Reference in New Issue
Block a user