Browse Source

Merge branch 'feature_20250116_拜访门店任务添加照片从相册选择功能' into uat(dev)

zhujindu 10 months ago
parent
commit
9ea9153e4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/uploadVNormal.vue

+ 1 - 1
src/components/uploadVNormal.vue

@@ -205,7 +205,7 @@ export default {
               wx.chooseImage({
                 count: 1,
                 sizeType: ['original'], // 可以指定是原图还是压缩图,默认二者都有
-                sourceType: [updateImgMode], // 可以指定来源是相册还是相机,默认二者都有
+                sourceType: [this.updateImgMode], // 可以指定来源是相册还是相机,默认二者都有
                 defaultCameraMode: 'normal', //表示进入拍照界面的默认模式,目前有normal与batch两种选择,normal表示普通单拍模式,batch表示连拍模式,不传该参数则为normal模式。从3.0.26版本开始支持front和batch_front两种值,其中front表示默认为前置摄像头单拍模式,batch_front表示默认为前置摄像头连拍模式。(注:用户进入拍照界面仍然可自由切换两种模式)
                 isSaveToAlbum: 0, //整型值,0表示拍照时不保存到系统相册,1表示自动保存,默认值是1
                 success: function (res) {