zhengyiming
3 天以前 fc6bbae5805da6c95fd675210999a03802cd62ad
src/components/commonView/MaterialInfoView.vue
@@ -3,6 +3,7 @@
    :label="`${item.fileTypeName}:`"
    :prop="`parkCollectFileList.${index}.listFiles`"
    :label-width="160"
    :mode="mode"
    :style="{ marginBottom: index === form.parkCollectFileList.length - 1 ? 0 : '22px' }"
    v-for="(item, index) in form.parkCollectFileList"
    :key="item.fileSearchTypeId"
@@ -26,12 +27,17 @@
});
type Props = {
  isEdit?: boolean;
  form: {
    parkCollectFileList: CustomerApplyFileTypeListItem[];
  };
};
const props = withDefaults(defineProps<Props>(), {});
const props = withDefaults(defineProps<Props>(), {
  isEdit: false,
});
const mode = computed(() => (props.isEdit ? 'read' : 'edit'));
</script>
<style lang="scss" scoped>