mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 12:23:08 +08:00
docs: Calendar - Demo of notice - English Translation (#3266)
This commit is contained in:
parent
c2fb8f30a1
commit
e1b1f7f374
@ -21,23 +21,23 @@ function getListData(value) {
|
||||
switch (value.date()) {
|
||||
case 8:
|
||||
listData = [
|
||||
{ type: 'warning', content: '这里是警告事项.' },
|
||||
{ type: 'normal', content: '这里是普通事项.' },
|
||||
{ type: 'warning', content: 'This is warning event.' },
|
||||
{ type: 'normal', content: 'This is usual event.' },
|
||||
]; break;
|
||||
case 10:
|
||||
listData = [
|
||||
{ type: 'warning', content: '这里是警告事项.' },
|
||||
{ type: 'normal', content: '这里是普通事项.' },
|
||||
{ type: 'error', content: '这里是错误事项.' },
|
||||
{ type: 'warning', content: 'This is warning event.' },
|
||||
{ type: 'normal', content: 'This is usual event.' },
|
||||
{ type: 'error', content: 'This is error event.' },
|
||||
]; break;
|
||||
case 15:
|
||||
listData = [
|
||||
{ type: 'warning', content: '这里是警告事项.' },
|
||||
{ type: 'normal', content: '这里是普通事项好长啊。。....' },
|
||||
{ type: 'error', content: '这里是错误事项.' },
|
||||
{ type: 'error', content: '这里是错误事项.' },
|
||||
{ type: 'error', content: '这里是错误事项.' },
|
||||
{ type: 'error', content: '这里是错误事项.' },
|
||||
{ type: 'warning', content: 'This is warning event' },
|
||||
{ type: 'normal', content: 'This is very long usual event。。....' },
|
||||
{ type: 'error', content: 'This is error event.' },
|
||||
{ type: 'error', content: 'This is error event.' },
|
||||
{ type: 'error', content: 'This is error event.' },
|
||||
{ type: 'error', content: 'This is error event.' },
|
||||
]; break;
|
||||
default:
|
||||
}
|
||||
@ -70,7 +70,7 @@ function monthCellRender(value) {
|
||||
const num = getMonthData(value);
|
||||
return num ? <div className="notes-month">
|
||||
<section>{num}</section>
|
||||
<span>待办事项数</span>
|
||||
<span>Backlog number</span>
|
||||
</div> : null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user