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'
4
4
import AjaxUpload from './AjaxUploader'
5
5
import IframeUpload from './IframeUploader'
6
6
7
- // function empty () {
8
- // }
7
+ function empty ( ) {
8
+ }
9
9
10
10
const uploadProps = {
11
11
componentTag : PropTypes . string ,
@@ -47,8 +47,8 @@ export default {
47
47
// onSuccess: empty,
48
48
supportServerRender : false ,
49
49
multiple : false ,
50
- beforeUpload : null ,
51
- customRequest : null ,
50
+ beforeUpload : empty ,
51
+ customRequest : empty ,
52
52
withCredentials : false ,
53
53
} ) ,
54
54
data ( ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Layout from './components/layout.vue'
3
3
const AsyncTestComp = ( ) => {
4
4
const d = window . location . hash . replace ( '#' , '' )
5
5
return {
6
- component : import ( `../components/tree /demo/${ d } ` ) ,
6
+ component : import ( `../components/vc-upload /demo/${ d } ` ) ,
7
7
}
8
8
}
9
9
You can’t perform that action at this time.
0 commit comments