提交 ba3a9173 编写于 作者: A afc163

Merge branch 'develop-0.10.0' of github.com:ant-design/ant-design into develop-0.10.0

......@@ -12,8 +12,8 @@ import { Button, notification } from 'antd';
const openNotification = function() {
const args = {
message: "这是标题",
description: "这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案这是提示框的文案",
duration: 10
description: "我不会自动关闭,我不会自动关闭,我不会自动关闭,我不会自动关闭,我不会自动关闭,我不会自动关闭,我不会自动关闭,",
duration: 0
};
notification.open(args);
};
......
......@@ -52,9 +52,9 @@ function notice(args) {
content: <div>
<Icon className={prefixCls + 'icon-' + args.icon + prefixCls + 'icon'} type={iconType} />
<p className={prefixCls + 'message'}>{args.message}</p>
<div className={prefixCls + 'message'}>{args.message}</div>
<p className={prefixCls + 'description'}>{args.description}</p>
<div className={prefixCls + 'description'}>{args.description}</div>
</div>,
duration: duration,
closable: true,
......@@ -66,9 +66,9 @@ function notice(args) {
if (!args.btn) {
getNotificationInstance().notice({
content: <div>
<p className={prefixCls + 'message'}>{args.message}</p>
<div className={prefixCls + 'message'}>{args.message}</div>
<p className={prefixCls + 'description'}>{args.description}</p>
<div className={prefixCls + 'description'}>{args.description}</div>
</div>,
duration: duration,
closable: true,
......@@ -78,9 +78,9 @@ function notice(args) {
} else {
getNotificationInstance().notice({
content: <div>
<p className={prefixCls + 'message'}>{args.message}</p>
<div className={prefixCls + 'message'}>{args.message}</div>
<p className={prefixCls + 'description'}>{args.description}</p>
<div className={prefixCls + 'description'}>{args.description}</div>
<span className={prefixCls + 'btn'}>
{args.btn}
</span>
......
{
"name": "antd",
"version": "0.10.0-beta17",
"version": "0.10.0-beta18",
"stableVersion": "0.9.4",
"title": "Ant Design",
"description": "一个 UI 设计语言",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册