Skip to content

Commit c70baf8

Browse files
committed
fix: add props of vc-upload
1 parent eea548b commit c70baf8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/vc-upload/src/AjaxUploader.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const upLoadPropTypes = {
1010
// style: PropTypes.object,
1111
prefixCls: PropTypes.string,
1212
action: PropTypes.string,
13+
name: PropTypes.string,
1314
// className: PropTypes.string,
1415
multiple: PropTypes.bool,
1516
disabled: PropTypes.bool,

site/routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Iframe from './components/iframe.vue'
44
const AsyncTestComp = () => {
55
const d = window.location.hash.replace('#', '')
66
return {
7-
component: import(`../components/menu/demo/${d}`),
7+
component: import(`../components/upload/demo/${d}`),
88
}
99
}
1010

0 commit comments

Comments
 (0)