Selaa lähdekoodia

Merge branch 'feature_20241217_渠道客诉填写任务增加上传照片功能'

zhujindu 11 kuukautta sitten
vanhempi
commit
a2895d1a6f
2 muutettua tiedostoa jossa 1 lisäystä ja 11 poistoa
  1. 1 1
      src/components/complaintImg.vue
  2. 0 10
      src/components/uploadImgVStorec.vue

+ 1 - 1
src/components/complaintImg.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="cameraDiv1">
     <p class="coverImg" @click="uploadImg">
-      <van-icon class="photo ico" name="photograph" size="16px" color="#969696"></van-icon>
+      <van-icon class="photo ico" name="photograph" size="24px" color="#969696"></van-icon>
     </p>
   </div>
 </template>

+ 0 - 10
src/components/uploadImgVStorec.vue

@@ -48,15 +48,6 @@ export default {
       type: String,
       default: '',
     },
-    itemData: {
-      type: Object,
-      default: {},
-    },
-    isRequired: {
-      // 是否开启拍照前校验
-      type: Boolean,
-      default: true,
-    },
   },
   data() {
     return {
@@ -151,7 +142,6 @@ export default {
           that.$emit('newimgarr', {
             fileUrl: imgArr.join(','),
             type: that.type,
-            itemData: itemData,
           });
         } else {
           that.$toast('上传失败!');