fix vc-upload propstype
							parent
							
								
									dce6d138e7
								
							
						
					
					
						commit
						7da09de27c
					
				|  | @ -4,8 +4,8 @@ import BaseMixin from '../../_util/BaseMixin' | |||
| import AjaxUpload from './AjaxUploader' | ||||
| import IframeUpload from './IframeUploader' | ||||
| 
 | ||||
| // function empty () { | ||||
| // } | ||||
| function empty () { | ||||
| } | ||||
| 
 | ||||
| const uploadProps = { | ||||
|   componentTag: PropTypes.string, | ||||
|  | @ -47,8 +47,8 @@ export default { | |||
|     // onSuccess: empty, | ||||
|     supportServerRender: false, | ||||
|     multiple: false, | ||||
|     beforeUpload: null, | ||||
|     customRequest: null, | ||||
|     beforeUpload: empty, | ||||
|     customRequest: empty, | ||||
|     withCredentials: false, | ||||
|   }), | ||||
|   data () { | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ import Layout from './components/layout.vue' | |||
| const AsyncTestComp = () => { | ||||
|   const d = window.location.hash.replace('#', '') | ||||
|   return { | ||||
|     component: import(`../components/tree/demo/${d}`), | ||||
|     component: import(`../components/vc-upload/demo/${d}`), | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 wangxueliang
						wangxueliang