From 3a941f2bfdf6741f2cf33162032c5a9d017234ff Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 31 Oct 2017 13:46:28 +0800 Subject: [PATCH] Fix tag margin right --- src/components/NoticeIcon/demo/popover.md | 2 +- src/layouts/BasicLayout.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NoticeIcon/demo/popover.md b/src/components/NoticeIcon/demo/popover.md index 78dcd12d..4ec81509 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 ed274857..2d336ed6 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; }); -- GitLab