Skip to content

Commit

Permalink
fix: fix type.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Apr 25, 2024
1 parent c594d44 commit 60aeee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/upload/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export interface TdUploadProps<T extends UploadFile = UploadFile> {
* HTTP 请求类型
* @default POST
*/
method?: 'POST' | 'GET' | 'PUT' | 'OPTION' | 'PATCH' | 'post' | 'get' | 'put' | 'option' | 'patch';
method?: 'POST' | 'GET' | 'PUT' | 'OPTIONS' | 'PATCH' | 'post' | 'get' | 'put' | 'options' | 'patch';
/**
* 模拟进度间隔时间,单位:毫秒,默认:300。由于原始的上传请求,小文件上传进度只有 0 和 100,故而新增模拟进度,每间隔 `mockProgressDuration` 毫秒刷新一次模拟进度。小文件设置小一点,大文件设置大一点。注意:当 `useMockProgress` 为真时,当前设置有效
*/
Expand Down

0 comments on commit 60aeee2

Please sign in to comment.