project init & fix ui
This commit is contained in:
52
miniprogram_npm/tdesign-miniprogram/upload/props.js
Normal file
52
miniprogram_npm/tdesign-miniprogram/upload/props.js
Normal file
@@ -0,0 +1,52 @@
|
||||
const props = {
|
||||
addContent: {
|
||||
type: String,
|
||||
},
|
||||
allowUploadDuplicateFile: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
config: {
|
||||
type: Object,
|
||||
},
|
||||
customStyle: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
files: {
|
||||
type: Array,
|
||||
value: null,
|
||||
},
|
||||
defaultFiles: {
|
||||
type: Array,
|
||||
},
|
||||
gridConfig: {
|
||||
type: Object,
|
||||
},
|
||||
gutter: {
|
||||
type: Number,
|
||||
value: 16,
|
||||
},
|
||||
imageProps: {
|
||||
type: Object,
|
||||
},
|
||||
max: {
|
||||
type: Number,
|
||||
value: 0,
|
||||
},
|
||||
mediaType: {
|
||||
type: Array,
|
||||
value: ['image', 'video'],
|
||||
},
|
||||
requestMethod: {
|
||||
type: null,
|
||||
},
|
||||
sizeLimit: {
|
||||
type: null,
|
||||
},
|
||||
source: {
|
||||
type: String,
|
||||
value: 'media',
|
||||
},
|
||||
};
|
||||
export default props;
|
||||
Reference in New Issue
Block a user