diff --git a/components/drawer/demo/from-drawer.md b/components/drawer/demo/from-drawer.md
index f80bae9cdf..73e28cc344 100644
--- a/components/drawer/demo/from-drawer.md
+++ b/components/drawer/demo/from-drawer.md
@@ -152,6 +152,7 @@ class App extends React.Component {
style={{
marginRight: 8,
}}
+ onClick={this.onClose}
>
取消
diff --git a/components/drawer/demo/user-profile.md b/components/drawer/demo/user-profile.md
index 845bfe9512..90c462fdbe 100644
--- a/components/drawer/demo/user-profile.md
+++ b/components/drawer/demo/user-profile.md
@@ -80,7 +80,7 @@ class App extends React.Component {
avatar={
}
- title={item.name}
+ title={{item.name}}
description="Progresser AFX"
/>