fix: 类型修复

This commit is contained in:
2023-08-22 14:12:18 +08:00
parent 9a4d9797c5
commit 9e05d6e287
2 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,7 @@ const meta = {
return Promise.resolve({
id: 0,
url: avatar,
name: '头像',
})
},
onOnSuccess() {
@ -48,6 +49,7 @@ export const Base: Story = {
return Promise.resolve({
id: 1,
url: avatar,
name: '头像',
})
},
},
@ -61,6 +63,7 @@ export const Preview: Story = {
return Promise.resolve({
id: 2,
url: avatar,
name: '头像',
})
},
},

View File

@ -2,7 +2,7 @@
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-07-21 00:37:46
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-08-18 17:58:34
* @LastEditTime: 2023-08-22 13:25:20
* @FilePath: \vue3\stories\UploadSingleFile.stories.ts
* @Description:
*
@ -24,6 +24,7 @@ const meta = {
request: () => Promise.resolve({
id: 0,
url: avatar,
name: '头像',
}),
maxsize: 100,
},