diff --git a/components/ErrorBoundary.tsx b/components/ErrorBoundary.tsx index 259dc8d..3789b0e 100644 --- a/components/ErrorBoundary.tsx +++ b/components/ErrorBoundary.tsx @@ -41,24 +41,26 @@ export class ErrorBoundary extends Component { render() { if (this.state.hasError) { return ( -
-
- -

糟糕,出了点问题

+
+
+
+ +
+

糟糕,出了点问题

应用遇到了一些意外错误。您可以尝试刷新页面或重置应用。

{this.state.error && ( -
-
+              
+
                   {this.state.error.toString()}
                 
)}