pull/165/head
tangjinzhou 2018-04-16 18:39:07 +08:00
commit ce45f7422e
2 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@ import BaseMixin from '../../_util/BaseMixin'
import AjaxUpload from './AjaxUploader' import AjaxUpload from './AjaxUploader'
import IframeUpload from './IframeUploader' import IframeUpload from './IframeUploader'
// function empty () { function empty () {
// } }
const uploadProps = { const uploadProps = {
componentTag: PropTypes.string, componentTag: PropTypes.string,
@ -47,8 +47,8 @@ export default {
// onSuccess: empty, // onSuccess: empty,
supportServerRender: false, supportServerRender: false,
multiple: false, multiple: false,
beforeUpload: null, beforeUpload: empty,
customRequest: null, customRequest: empty,
withCredentials: false, withCredentials: false,
}), }),
data () { data () {

View File

@ -3,7 +3,7 @@ import Layout from './components/layout.vue'
const AsyncTestComp = () => { const AsyncTestComp = () => {
const d = window.location.hash.replace('#', '') const d = window.location.hash.replace('#', '')
return { return {
component: import(`../components/tree/demo/${d}`), component: import(`../components/vc-upload/demo/${d}`),
} }
} }