Merge branch 'master' of https://github.com/vueComponent/ant-design
commit
ce45f7422e
|
@ -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 () {
|
||||||
|
|
|
@ -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}`),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue