perf: 头像上传参数
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* @Author: zhaojinfeng 121016171@qq.com
|
||||
* @Date: 2023-07-18 12:28:36
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-07-20 17:13:00
|
||||
* @LastEditTime: 2023-07-21 16:34:51
|
||||
* @FilePath: \vue3\stories\UploadAvatar.stories.ts
|
||||
* @Description:
|
||||
*
|
||||
@ -16,7 +16,8 @@ const meta = {
|
||||
component: ThUploadAvatar,
|
||||
tags: ['autodocs'],
|
||||
args: {
|
||||
modelValue: '',
|
||||
fileId: '',
|
||||
fileUrl: '',
|
||||
accpet: '.jpeg,.jpg,.png,.bmp',
|
||||
disabled: false,
|
||||
fileSize: 2,
|
||||
@ -43,7 +44,7 @@ export const Base: Story = {
|
||||
export const Preview: Story = {
|
||||
name: '启用disabled,当做预览组件',
|
||||
args: {
|
||||
modelValue: avatar,
|
||||
disabled: false,
|
||||
fileUrl: avatar,
|
||||
disabled: true,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user