From 1e7cf6d3648929dcb9a4183c714ce6aa6c030b1a Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 18 Aug 2015 17:05:56 +0800 Subject: [PATCH] button should inside children --- components/upload/demo/basic.md | 4 +++- components/upload/index.jsx | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) 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}