浏览代码

feature_20250811_拜访拍照任务连拍

zhujindu 5 月之前
父节点
当前提交
9fb0dcef1e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/components/uploadVNormal.vue

+ 2 - 1
src/components/uploadVNormal.vue

@@ -261,7 +261,8 @@ export default {
               });
               console.log(that.pictureSource);
               let sourceType = that.pictureSource == '1' ? ['album', 'camera'] : ['camera'];
-              let count = this.isContinuousShooting == '1' ? 5 : 1; //是否允许连拍/相册多选 最多5张
+              let count = 0;
+              this.isContinuousShooting == '1' ? 5 : 1; //是否允许连拍/相册多选 最多5张
               wx.chooseImage({
                 count: count,
                 sizeType: ['original'], // 可以指定是原图还是压缩图,默认二者都有