File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import BaseMixin from '../../_util/BaseMixin'
44import AjaxUpload from './AjaxUploader'
55import IframeUpload from './IframeUploader'
66
7- // function empty () {
8- // }
7+ function empty ( ) {
8+ }
99
1010const uploadProps = {
1111 componentTag : PropTypes . string ,
@@ -47,8 +47,8 @@ export default {
4747 // onSuccess: empty,
4848 supportServerRender : false ,
4949 multiple : false ,
50- beforeUpload : null ,
51- customRequest : null ,
50+ beforeUpload : empty ,
51+ customRequest : empty ,
5252 withCredentials : false ,
5353 } ) ,
5454 data ( ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Layout from './components/layout.vue'
33const AsyncTestComp = ( ) => {
44 const d = window . location . hash . replace ( '#' , '' )
55 return {
6- component : import ( `../components/tree /demo/${ d } ` ) ,
6+ component : import ( `../components/vc-upload /demo/${ d } ` ) ,
77 }
88}
99
You can’t perform that action at this time.
0 commit comments