diff --git a/pages/component/web-view/web-view.uvue b/pages/component/web-view/web-view.uvue index 671546c5b4097f956de2fb3a4df02c89168da402..a859ff3e3714603d5066f5f6a8788f1590831bbc 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 } } }