From 5b8e4690f7b39a9b14d66f3dfb7818f8dad27369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Fri, 26 Jul 2024 21:01:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dweb=E7=AB=AF=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/web-view/web-view.uvue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/component/web-view/web-view.uvue b/pages/component/web-view/web-view.uvue index 671546c5..a859ff3e 100644 --- a/pages/component/web-view/web-view.uvue +++ b/pages/component/web-view/web-view.uvue @@ -178,7 +178,12 @@ }, //自动化测试专用 checkNativeWebView(): boolean { + // #ifdef APP return hasNativeView('web-view') + // #endif + // #ifdef WEB + return true + // #endif } } } -- GitLab