diff --git a/config/config.js b/config/config.js index 142710c4976fc564c77ebe81dafcd6aa94b242a2..2c46f30e11fbe094e3a51d42efa888c053c1f3bc 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 4373a3d64a2cea1f6c94c3db09418bf7144260b0..bff034a92926dad016ad86e241fc158ea132541d 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 { )}