Update home.tsx
This commit is contained in:
parent
4577b835fd
commit
82a0876a7b
|
@ -295,8 +295,10 @@ export function Home() {
|
|||
console.log("window.ReactNativeWebView Err");
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
window.ReactNativeWebView.postMessage("try catch 失败");
|
||||
} catch (err) {
|
||||
window.ReactNativeWebView.postMessage(
|
||||
`${(err as Error).message} try catch 失败`,
|
||||
);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue