| | |
| | | :progress="{ showInfo: true }" |
| | | :show-upload-list="{ |
| | | showPreviewIcon: true, |
| | | showRemoveIcon: true, |
| | | showRemoveIcon: !disabled, |
| | | showDownloadIcon, |
| | | }" |
| | | @remove="handleRemove" |
| | | @preview="handlePreview" |
| | | @reject="handleExceed" |
| | | > |
| | | <div v-if="drag" class="upload-drag-area"> |
| | | <div v-if="drag && !disabled" class="upload-drag-area"> |
| | | <p class="ant-upload-drag-icon"> |
| | | <IconifyIcon icon="lucide:cloud-upload" /> |
| | | </p> |
| | |
| | | 支持{{ accept.join('/') }}格式文件,不超过{{ maxSize }}MB |
| | | </p> |
| | | </div> |
| | | <div v-else-if="fileList && fileList.length < maxNumber"> |
| | | <div |
| | | v-else-if="!disabled && fileList && fileList.length < maxNumber" |
| | | > |
| | | <Button> |
| | | <IconifyIcon icon="lucide:cloud-upload" /> |
| | | {{ $t('ui.upload.upload') }} |