mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
33 lines
568 B
JavaScript
33 lines
568 B
JavaScript
'use strict';
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
// props for choose image
|
|
exports.chooseImageProps = {
|
|
sizeType: {
|
|
type: Array,
|
|
value: ['original', 'compressed'],
|
|
},
|
|
capture: {
|
|
type: Array,
|
|
value: ['album', 'camera'],
|
|
},
|
|
};
|
|
// props for choose video
|
|
exports.chooseVideoProps = {
|
|
capture: {
|
|
type: Array,
|
|
value: ['album', 'camera'],
|
|
},
|
|
compressed: {
|
|
type: Boolean,
|
|
value: true,
|
|
},
|
|
maxDuration: {
|
|
type: Number,
|
|
value: 60,
|
|
},
|
|
camera: {
|
|
type: String,
|
|
value: 'back',
|
|
},
|
|
};
|