ant-design-vue/components/upload/demo/directory.md

21 lines
371 B
Markdown

<cn>
#### 文件夹上传
支持上传一个文件夹里的所有文件。
</cn>
<us>
#### Upload directory
You can select and upload a whole directory.
</us>
```html
<template>
<a-upload action="https://www.mocky.io/v2/5cc8019d300000980a055e76" directory>
<a-button>
<a-icon type="upload" /> Upload Directory
</a-button>
</a-upload>
</template>
```