mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 13:46:37 +08:00
Update home.tsx
This commit is contained in:
parent
2f84d0a9da
commit
1f95ad2ced
@ -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 {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user