From 37978360a2dcf40a25839905c170fbc04a19e27d Mon Sep 17 00:00:00 2001 From: oiov Date: Fri, 21 Mar 2025 19:32:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20root.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/remix/app/root.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/remix/app/root.tsx b/apps/remix/app/root.tsx index d5f9563..5523439 100644 --- a/apps/remix/app/root.tsx +++ b/apps/remix/app/root.tsx @@ -50,13 +50,7 @@ export default function App() { let { i18n } = useTranslation(); useChangeLanguage(locale); - useEffect(() => { - if (isInWebView()) { - // alert("禁止 WebView 访问"); - window.location.href = "https://www.oiov.dev"; - } - }, []); - + return (