diff --git a/src/components/NoticeIcon/demo/popover.md b/src/components/NoticeIcon/demo/popover.md index 78dcd12d5a6b0a6cc6600bae4be27d5c87daf615..4ec8150918e4c36f4fa2213c2b2e6f1e402dda54 100644 --- a/src/components/NoticeIcon/demo/popover.md +++ b/src/components/NoticeIcon/demo/popover.md @@ -28,7 +28,7 @@ const data = [{ title: '标题', description: '这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像', datetime: moment('2017-08-07').fromNow(), - extra: 标签, + extra: 标签, }]; function onItemClick(item, tabProps) { diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index ed274857dc4bcfaa18452fa989fa7d60b805294b..2d336ed6c48a13173c6730080f2103292f4ad21d 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -186,7 +186,7 @@ class BasicLayout extends React.PureComponent { urgent: 'red', doing: 'gold', })[newNotice.status]; - newNotice.extra = {newNotice.extra}; + newNotice.extra = {newNotice.extra}; } return newNotice; });