|
|
@@ -89,6 +89,12 @@ export default {
|
|
|
type: [String, Number],
|
|
|
default: '',
|
|
|
},
|
|
|
+ formData: {
|
|
|
+ type: Object,
|
|
|
+ default() {
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState({
|
|
|
@@ -207,11 +213,11 @@ export default {
|
|
|
let count = 1;
|
|
|
// 1:店招内容识别(不能连拍和多选),3:调色机识别(不能连拍和多选) 需要实时识别的不支持连拍和多选
|
|
|
if (that.photoIdentifyType != 1 && that.photoIdentifyType != 3) {
|
|
|
- count = that.continuousShoot == '1' ? 5 : 1; //是否允许连拍/相册多选 最多5张
|
|
|
+ count = that.continuousShoot == '1' ? 20 : 1; //是否允许连拍/相册多选 最多5张
|
|
|
}
|
|
|
wx.chooseImage({
|
|
|
count: count,
|
|
|
- sizeType: ['compressed'], // 可以指定是原图还是压缩图,默认二者都有
|
|
|
+ sizeType: ['original'], // 可以指定是原图还是压缩图,默认二者都有
|
|
|
sourceType: sourceType, // 可以指定来源是相册还是相机,默认二者都有
|
|
|
defaultCameraMode: count == 1 ? 'normal' : 'batch', //表示进入拍照界面的默认模式,目前有normal与batch两种选择,normal表示普通单拍模式,batch表示连拍模式,不传该参数则为normal模式。从3.0.26版本开始支持front和batch_front两种值,其中front表示默认为前置摄像头单拍模式,batch_front表示默认为前置摄像头连拍模式。(注:用户进入拍照界面仍然可自由切换两种模式)
|
|
|
// defaultCameraMode: 'normal', //表示进入拍照界面的默认模式,目前有normal与batch两种选择,normal表示普通单拍模式,batch表示连拍模式,不传该参数则为normal模式。从3.0.26版本开始支持front和batch_front两种值,其中front表示默认为前置摄像头单拍模式,batch_front表示默认为前置摄像头连拍模式。(注:用户进入拍照界面仍然可自由切换两种模式)
|