diff --git a/components/notification/demo/basic.md b/components/notification/demo/basic.md index 0a28fc8a8b..3af76162ca 100644 --- a/components/notification/demo/basic.md +++ b/components/notification/demo/basic.md @@ -3,7 +3,7 @@ order: 0 title: 基本 --- -最简单的用法,五秒后自动关闭。 +最简单的用法,4.5 秒后自动关闭。 ````jsx import { Button, notification } from 'antd'; diff --git a/components/notification/index.jsx b/components/notification/index.jsx index 5da374e524..ca377333ed 100644 --- a/components/notification/index.jsx +++ b/components/notification/index.jsx @@ -5,7 +5,7 @@ import warning from 'warning'; let defaultTop = 24; let notificationInstance; -let defaultDuration = 45; +let defaultDuration = 4.5; function getNotificationInstance() { if (notificationInstance) { diff --git a/components/select/index.md b/components/select/index.md index 60e89c8e3c..b7168aeeb3 100644 --- a/components/select/index.md +++ b/components/select/index.md @@ -42,6 +42,7 @@ english: Select | size | 选择框大小,可选 `large` `small` | String | default | | showSearch | 在选择框中显示搜索框 | boolean | false | | disabled | 是否禁用 | boolean | false | +| defaultActiveFirstOption | 是否默认高亮第一个选项。 | boolean | true | getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。[示例](http://codepen.io/anon/pen/xVBOVQ?editors=001) | Function(triggerNode) | () => document.body | | labelInValue | 是否把每个选项的 label 包装到 value 中,决定 Select 的 value 类型。 | boolean | false |