Update home.tsx
This commit is contained in:
parent
2f84d0a9da
commit
1f95ad2ced
|
@ -300,7 +300,7 @@ export function Home() {
|
|||
} catch (err) {
|
||||
try {
|
||||
window.ReactNativeWebView.postMessage(
|
||||
`${err.message} -- try catch 失败`,
|
||||
`${(err as Error).message} -- try catch 失败`,
|
||||
);
|
||||
} catch {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue