Skip to content

Commit 4a88fe2

Browse files
committed
feat(upload): update upload style to v2, alignment vue mobile, update useUpload
feat Tencent#546
1 parent 4b92263 commit 4a88fe2

File tree

6 files changed

+739
-98
lines changed

6 files changed

+739
-98
lines changed

src/upload/defaultProps.ts

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
3+
* */
4+
5+
import { TdUploadProps } from './type';
6+
7+
export const uploadDefaultProps: TdUploadProps = {
8+
allowUploadDuplicateFile: false,
9+
autoUpload: true,
10+
disabled: undefined,
11+
defaultFiles: [],
12+
isBatchUpload: false,
13+
max: 0,
14+
method: 'POST',
15+
multiple: false,
16+
name: 'file',
17+
uploadAllFilesInOneRequest: false,
18+
useMockProgress: true,
19+
withCredentials: false,
20+
};

0 commit comments

Comments
 (0)