mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
微信登录版
This commit is contained in:
33
wechat_v2/miniprogram_npm/@vant/weapp/uploader/shared.js
Normal file
33
wechat_v2/miniprogram_npm/@vant/weapp/uploader/shared.js
Normal file
@@ -0,0 +1,33 @@
|
||||
'use strict';
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
exports.chooseVideoProps = exports.chooseImageProps = void 0;
|
||||
// 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',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user