vben
2023-04-05 8e5a6b7ce547ba8edb1d767bb4d820f3b66ff95a
src/components/Upload/src/props.ts
@@ -27,12 +27,20 @@
  },
  uploadParams: {
    type: Object as PropType<any>,
    default: {},
    default: () => ({}),
  },
  api: {
    type: Function as PropType<PromiseFn>,
    default: null,
    required: true,
  },
  name: {
    type: String as PropType<string>,
    default: 'file',
  },
  filename: {
    type: String as PropType<string>,
    default: null,
  },
};
@@ -61,7 +69,7 @@
export const fileListProps = {
  columns: {
    type: [Array] as PropType<FileBasicColumn[]>,
    type: Array as PropType<FileBasicColumn[]>,
    default: null,
  },
  actionColumn: {