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:
@@ -295,8 +295,10 @@ export function Home() {
|
|||||||
console.log("window.ReactNativeWebView Err");
|
console.log("window.ReactNativeWebView Err");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch {
|
} catch (err) {
|
||||||
window.ReactNativeWebView.postMessage("try catch 失败");
|
window.ReactNativeWebView.postMessage(
|
||||||
|
`${(err as Error).message} try catch 失败`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user