perf: 头像上传参数

This commit is contained in:
2023-07-21 16:49:21 +08:00
parent d2c0203f07
commit da0a9144b0
3 changed files with 41 additions and 15 deletions

View File

@ -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,
},
}