mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
Update home.tsx
This commit is contained in:
@@ -300,7 +300,7 @@ export function Home() {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
try {
|
try {
|
||||||
window.ReactNativeWebView.postMessage(
|
window.ReactNativeWebView.postMessage(
|
||||||
`${err.message} -- try catch 失败`,
|
`${(err as Error).message} -- try catch 失败`,
|
||||||
);
|
);
|
||||||
} catch {}
|
} catch {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user