|
- export default {
- props: {
-
- accept: {
- type: String,
- default: uni.$u.props.upload.accept
- },
-
- capture: {
- type: [String, Array],
- default: uni.$u.props.upload.capture
- },
-
- compressed: {
- type: Boolean,
- default: uni.$u.props.upload.compressed
- },
-
- camera: {
- type: String,
- default: uni.$u.props.upload.camera
- },
-
- maxDuration: {
- type: Number,
- default: uni.$u.props.upload.maxDuration
- },
-
- uploadIcon: {
- type: String,
- default: uni.$u.props.upload.uploadIcon
- },
-
- uploadIconColor: {
- type: String,
- default: uni.$u.props.upload.uploadIconColor
- },
-
- useBeforeRead: {
- type: Boolean,
- default: uni.$u.props.upload.useBeforeRead
- },
-
- afterRead: {
- type: Function,
- default: null
- },
-
- beforeRead: {
- type: Function,
- default: null
- },
-
- previewFullImage: {
- type: Boolean,
- default: uni.$u.props.upload.previewFullImage
- },
-
- maxCount: {
- type: [String, Number],
- default: uni.$u.props.upload.maxCount
- },
-
- disabled: {
- type: Boolean,
- default: uni.$u.props.upload.disabled
- },
-
- imageMode: {
- type: String,
- default: uni.$u.props.upload.imageMode
- },
-
- name: {
- type: String,
- default: uni.$u.props.upload.name
- },
-
- sizeType: {
- type: Array,
- default: uni.$u.props.upload.sizeType
- },
-
- multiple: {
- type: Boolean,
- default: uni.$u.props.upload.multiple
- },
-
- deletable: {
- type: Boolean,
- default: uni.$u.props.upload.deletable
- },
-
- maxSize: {
- type: [String, Number],
- default: uni.$u.props.upload.maxSize
- },
-
- fileList: {
- type: Array,
- default: uni.$u.props.upload.fileList
- },
-
- uploadText: {
- type: String,
- default: uni.$u.props.upload.uploadText
- },
-
- width: {
- type: [String, Number],
- default: uni.$u.props.upload.width
- },
-
- height: {
- type: [String, Number],
- default: uni.$u.props.upload.height
- },
-
- previewImage: {
- type: Boolean,
- default: uni.$u.props.upload.previewImage
- }
- }
- }
|