mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 19:48:38 +08:00
完善upload demo
This commit is contained in:
parent
3969bb49f5
commit
cc2d9c4015
@ -10,7 +10,7 @@ Classic mode. File selection dialog pops up when upload button is clicked.
|
||||
|
||||
```html
|
||||
<template>
|
||||
<a-upload name="file" action="//jsonplaceholder.typicode.com/posts/" :headers="headers" @change="handleChange">
|
||||
<a-upload name="file" :multiple="true" action="//jsonplaceholder.typicode.com/posts/" :headers="headers" @change="handleChange">
|
||||
<a-button>
|
||||
<a-icon type="upload" /> Click to Upload
|
||||
</a-button>
|
||||
|
Loading…
Reference in New Issue
Block a user