chore: update error components for loading file failed

This commit is contained in:
jialin
2025-05-15 22:57:24 +08:00
parent 17ec70f839
commit 00a60b8948
8 changed files with 83 additions and 29 deletions
+2
View File
@@ -36,6 +36,7 @@ import { useCallback, useEffect, useMemo, useState } from 'react';
import Exception from './Exception';
import './Layout.css';
import { LogoIcon, SLogoIcon } from './Logo';
import ErrorBoundary from './error-boundary';
import { getRightRenderContent } from './rightRender';
import { patchRoutes } from './runtime';
@@ -465,6 +466,7 @@ export default (props: any) => {
fixedHeader
{...runtimeConfig}
actionsRender={actionRender}
ErrorBoundary={ErrorBoundary}
>
<Exception
route={matchedRoute}