fix: initialState refresh

This commit is contained in:
jialin
2024-08-27 14:15:29 +08:00
parent 2b1f5d38e1
commit 9a0aeb491a
6 changed files with 51 additions and 55 deletions
+1
View File
@@ -14,6 +14,7 @@ const Exception: React.FC<{
}> = (props) => {
const intl = useIntl();
// render custom 404
console.log('exception====', props.route);
return (
(!props.route && (props.noFound || props.notFound)) ||
// render custom 403