File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Upload from './Upload'
3
3
import { UploadProps } from './interface'
4
4
5
5
export default {
6
- name : 'ADragger ' ,
6
+ name : 'AUploadDragger ' ,
7
7
props : UploadProps ,
8
8
render ( ) {
9
9
const props = getOptionProps ( this )
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ Classic mode. File selection dialog pops up when upload button is clicked.
11
11
12
12
``` html
13
13
<template >
14
- <a-dragger name =" file" :multiple =" true" action =" //jsonplaceholder.typicode.com/posts/" @change =" handleChange" >
14
+ <a-upload- dragger name =" file" :multiple =" true" action =" //jsonplaceholder.typicode.com/posts/" @change =" handleChange" >
15
15
<p class =" ant-upload-drag-icon" >
16
16
<a-icon type =" inbox" />
17
17
</p >
18
18
<p class =" ant-upload-text" >Click or drag file to this area to upload</p >
19
19
<p class =" ant-upload-hint" >Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files</p >
20
- </a-dragger >
20
+ </a-upload- dragger >
21
21
</template >
22
22
<script >
23
23
export default {
You can’t perform that action at this time.
0 commit comments