Skip to content

Commit 8fc617a

Browse files
Young-Young-Youngzhenyangliu
and
zhenyangliu
authored
fix:upload component method props not work (vueComponent#3843)
Co-authored-by: zhenyangliu <[email protected]>
1 parent e0967d9 commit 8fc617a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/vc-upload/src/Upload.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const uploadProps = {
2525
beforeUpload: PropTypes.func,
2626
customRequest: PropTypes.func,
2727
// onReady: PropTypes.func,
28+
method: PropTypes.string,
2829
withCredentials: PropTypes.bool,
2930
supportServerRender: PropTypes.bool,
3031
openFileDialogOnClick: PropTypes.bool,

0 commit comments

Comments
 (0)