准备 AI重建
This commit is contained in:
1 parent
c36f2d60c2
commit
3429c8b402
1487 files changed
+5307
-3208
No files matched your search
+65
@@ -0,0 +1,65 @@
|
||||
// props for image
|
||||
export const imageProps = {
|
||||
sizeType: {
|
||||
type: Array,
|
||||
value: ['original', 'compressed'],
|
||||
},
|
||||
capture: {
|
||||
type: Array,
|
||||
value: ['album', 'camera'],
|
||||
},
|
||||
showmenu: {
|
||||
type: Boolean,
|
||||
value: true,
|
||||
},
|
||||
};
|
||||
// props for video
|
||||
export const videoProps = {
|
||||
capture: {
|
||||
type: Array,
|
||||
value: ['album', 'camera'],
|
||||
},
|
||||
compressed: {
|
||||
type: Boolean,
|
||||
value: true,
|
||||
},
|
||||
maxDuration: {
|
||||
type: Number,
|
||||
value: 60,
|
||||
},
|
||||
camera: {
|
||||
type: String,
|
||||
value: 'back',
|
||||
},
|
||||
referrerPolicy: {
|
||||
type: String,
|
||||
value: 'no-referrer',
|
||||
},
|
||||
};
|
||||
// props for media
|
||||
export const mediaProps = {
|
||||
capture: {
|
||||
type: Array,
|
||||
value: ['album', 'camera'],
|
||||
},
|
||||
mediaType: {
|
||||
type: Array,
|
||||
value: ['image', 'video', 'mix'],
|
||||
},
|
||||
maxDuration: {
|
||||
type: Number,
|
||||
value: 60,
|
||||
},
|
||||
camera: {
|
||||
type: String,
|
||||
value: 'back',
|
||||
},
|
||||
};
|
||||
// props for file
|
||||
export const messageFileProps = {
|
||||
extension: null,
|
||||
previewFile: {
|
||||
type: Boolean,
|
||||
value: true,
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user