diff --git a/components/upload/demo/basic.md b/components/upload/demo/basic.md index c637636f1a..2a696489e7 100644 --- a/components/upload/demo/basic.md +++ b/components/upload/demo/basic.md @@ -25,7 +25,9 @@ var props = { React.render( - 点击上传 + , document.getElementById('components-upload-demo-basic') ); diff --git a/components/upload/index.jsx b/components/upload/index.jsx index 169f3a6ac1..8cb3f377b6 100644 --- a/components/upload/index.jsx +++ b/components/upload/index.jsx @@ -96,9 +96,7 @@ let AntUpload = React.createClass({ return (
- + {this.props.children}