mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-20 01:41:51 +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()) {
|
switch (value.date()) {
|
||||||
case 8:
|
case 8:
|
||||||
listData = [
|
listData = [
|
||||||
{ type: 'warning', content: '这里是警告事项.' },
|
{ type: 'warning', content: 'This is warning event.' },
|
||||||
{ type: 'normal', content: '这里是普通事项.' },
|
{ type: 'normal', content: 'This is usual event.' },
|
||||||
]; break;
|
]; break;
|
||||||
case 10:
|
case 10:
|
||||||
listData = [
|
listData = [
|
||||||
{ type: 'warning', content: '这里是警告事项.' },
|
{ type: 'warning', content: 'This is warning event.' },
|
||||||
{ type: 'normal', content: '这里是普通事项.' },
|
{ type: 'normal', content: 'This is usual event.' },
|
||||||
{ type: 'error', content: '这里是错误事项.' },
|
{ type: 'error', content: 'This is error event.' },
|
||||||
]; break;
|
]; break;
|
||||||
case 15:
|
case 15:
|
||||||
listData = [
|
listData = [
|
||||||
{ type: 'warning', content: '这里是警告事项.' },
|
{ type: 'warning', content: 'This is warning event' },
|
||||||
{ type: 'normal', content: '这里是普通事项好长啊。。....' },
|
{ type: 'normal', content: 'This is very long usual event。。....' },
|
||||||
{ type: 'error', content: '这里是错误事项.' },
|
{ type: 'error', content: 'This is error event.' },
|
||||||
{ type: 'error', content: '这里是错误事项.' },
|
{ type: 'error', content: 'This is error event.' },
|
||||||
{ type: 'error', content: '这里是错误事项.' },
|
{ type: 'error', content: 'This is error event.' },
|
||||||
{ type: 'error', content: '这里是错误事项.' },
|
{ type: 'error', content: 'This is error event.' },
|
||||||
]; break;
|
]; break;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ function monthCellRender(value) {
|
|||||||
const num = getMonthData(value);
|
const num = getMonthData(value);
|
||||||
return num ? <div className="notes-month">
|
return num ? <div className="notes-month">
|
||||||
<section>{num}</section>
|
<section>{num}</section>
|
||||||
<span>待办事项数</span>
|
<span>Backlog number</span>
|
||||||
</div> : null;
|
</div> : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user