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'
33import { UploadProps } from './interface'
44
55export default {
6- name : 'ADragger ' ,
6+ name : 'AUploadDragger ' ,
77 props : UploadProps ,
88 render ( ) {
99 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.
1111
1212``` html
1313<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" >
1515 <p class =" ant-upload-drag-icon" >
1616 <a-icon type =" inbox" />
1717 </p >
1818 <p class =" ant-upload-text" >Click or drag file to this area to upload</p >
1919 <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 >
2121</template >
2222<script >
2323export default {
You can’t perform that action at this time.
0 commit comments