From dd43704108181f03abc4180a48e3ee9d05edfabd Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Mon, 9 Jan 2017 12:01:15 +0800 Subject: [PATCH 1/2] site: fix key --- site/theme/template/Content/ComponentDoc.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/theme/template/Content/ComponentDoc.jsx b/site/theme/template/Content/ComponentDoc.jsx index 6c70459cfc..e85a59d8cc 100644 --- a/site/theme/template/Content/ComponentDoc.jsx +++ b/site/theme/template/Content/ComponentDoc.jsx @@ -44,14 +44,14 @@ export default class ComponentDoc extends React.Component { if (index % 2 === 0 || isSingleCol) { leftChildren.push( ); } else { rightChildren.push( ); From c208aea6544850035bbe57c6f07dfcb47a045cc1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 9 Jan 2017 12:10:08 +0800 Subject: [PATCH 2/2] demo: fix duplicate key --- components/calendar/demo/notice-calendar.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/calendar/demo/notice-calendar.md b/components/calendar/demo/notice-calendar.md index 2e44ed0e3c..8e4ccc60d0 100644 --- a/components/calendar/demo/notice-calendar.md +++ b/components/calendar/demo/notice-calendar.md @@ -34,10 +34,10 @@ function getListData(value) { listData = [ { 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.' }, + { type: 'error', content: 'This is error event 1.' }, + { type: 'error', content: 'This is error event 2.' }, + { type: 'error', content: 'This is error event 3.' }, + { type: 'error', content: 'This is error event 4.' }, ]; break; default: } @@ -50,7 +50,7 @@ function dateCellRender(value) {
    { listData.map(item => -
  • +
  • {item.content}