<template>
  <div>预览开发中</div>
  <!-- <UploadFile
    :changeFillId="courseware_id"
    :accept="acceptFileType"
    :filleNumber="1"
    :fileList="fileList"
    :type="type"
  /> -->
</template>

<script>
import UploadFile from './compontents/UploadView.vue';

export default {
  name: 'UploadControlPreview',
  components: { UploadFile },
  data() {
    return {
      labelText: '文件',
      acceptFileType: '.png,.jpg,.pdf',
      uploadTip:
        'The size of the uploaded image should not exceed 2MB, the size of the uploaded audio file, pdf file, and excel file should not exceed 20MB, and the size of the uploaded audio file should not exceed 20MB',
      iconClass: 'picture',
      fileList: [],
      type: 'upload_control',
    };
  },
  methods: {
    updateFileList({ file_list, file_id_list, file_info_list }) {
      this.data.file_list = file_list;
      this.data.file_id_list = file_id_list;
      this.data.file_info_list = file_info_list;
    },
  },
};
</script>

<style lang="scss" scoped></style>
