ant-design-vue/components/upload/demo/directory.md
2019-10-09 18:32:23 +08:00

18 lines
359 B
Markdown

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