diff --git a/config/config.js b/config/config.js index 142710c4..2c46f30e 100644 --- a/config/config.js +++ b/config/config.js @@ -95,7 +95,7 @@ export default { { path: '/exception/403', component: './Exception/403' }, { path: '/exception/404', component: './Exception/404' }, { path: '/exception/500', component: './Exception/500' }, - + { path: '/exception/trigger', component: './Exception/triggerException' }, // account { path: '/account/center', diff --git a/src/components/GlobalHeader/RightContent.js b/src/components/GlobalHeader/RightContent.js index 4373a3d6..bff034a9 100644 --- a/src/components/GlobalHeader/RightContent.js +++ b/src/components/GlobalHeader/RightContent.js @@ -18,7 +18,6 @@ export default class GlobalHeaderRight extends PureComponent { if (newNotice.datetime) { newNotice.datetime = moment(notice.datetime).fromNow(); } - // transform id to item key if (newNotice.id) { newNotice.key = newNotice.id; } @@ -154,6 +153,7 @@ export default class GlobalHeaderRight extends PureComponent { )}