defaultDuration should be 4.5 seconds (#1778)

This commit is contained in:
Wei Zhu 2016-05-19 20:40:47 +08:00 committed by afc163
parent 5c9b4b4296
commit b9cbb21f55
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ order: 0
title: 基本
---
最简单的用法,秒后自动关闭。
最简单的用法,4.5 秒后自动关闭。
````jsx
import { Button, notification } from 'antd';

View File

@ -5,7 +5,7 @@ import warning from 'warning';
let defaultTop = 24;
let notificationInstance;
let defaultDuration = 45;
let defaultDuration = 4.5;
function getNotificationInstance() {
if (notificationInstance) {