error
This commit is contained in:
@@ -8,7 +8,11 @@ function ErrorBoundary() {
|
|||||||
// Uncaught ReferenceError: path is not defined
|
// Uncaught ReferenceError: path is not defined
|
||||||
return (
|
return (
|
||||||
<div style={{ padding: 16 }}>
|
<div style={{ padding: 16 }}>
|
||||||
<h1 style={{ color: "#a4a4a4", margin: "5px 0px" }}>:(</h1>
|
<h1 style={{ color: "#a4a4a4", margin: "5px 0px" }}>:) OHH FUCKING YES!!!</h1>
|
||||||
|
<p>LeonPan发生了一些意想不到的错误</p>
|
||||||
|
<p>
|
||||||
|
请反馈到<a href="http://leonmmcoset.jjxmm.win:2000/leonmmcoset/leonpan-assets/issues">LeonGit Issues</a>
|
||||||
|
</p>
|
||||||
<h2 style={{ margin: "15px 0px" }}>{t("common:renderError")}</h2>
|
<h2 style={{ margin: "15px 0px" }}>{t("common:renderError")}</h2>
|
||||||
{!!error && (
|
{!!error && (
|
||||||
<details>
|
<details>
|
||||||
@@ -23,6 +27,8 @@ function ErrorBoundary() {
|
|||||||
)}
|
)}
|
||||||
</details>
|
</details>
|
||||||
)}
|
)}
|
||||||
|
<hr />
|
||||||
|
<p>前端又要忙活了(</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user