jufubao-forms 1.0.4-beta1 → 1.0.4-beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-forms",
3
- "version": "1.0.4-beta1",
3
+ "version": "1.0.4-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝表单业务插件库",
6
6
  "main": "index.js",
@@ -104,7 +104,7 @@
104
104
  </view>
105
105
  </view>
106
106
  </view>
107
- <view v-if="showUploadVideos.length < item.media_count" class="img_box img_add" @click="doAddVideo(item)">
107
+ <view v-if="form[item.field_value].length < item.media_count" class="img_box img_add" @click="doAddVideo(item)">
108
108
  <view class="icon">+</view>
109
109
  </view>
110
110
  </view>
@@ -462,7 +462,7 @@
462
462
  doAddImage(item){
463
463
  uni.chooseImage({
464
464
  count: 1,
465
- sourceType: ['camera'],
465
+ sourceType: ['album', 'camera'],
466
466
  success: async (res) => {
467
467
  console.log('chooseImage',res);
468
468
  // let filePath = res.tempFilePaths[0];