diff --git a/pages/component/web-view/web-view.uvue b/pages/component/web-view/web-view.uvue index d52ccadea16073764687e4923f8a4a26c0cc2347..671546c5b4097f956de2fb3a4df02c89168da402 100644 --- a/pages/component/web-view/web-view.uvue +++ b/pages/component/web-view/web-view.uvue @@ -128,10 +128,6 @@ this.canGoBack = canWebViewGoBack('web-view'); this.canGoForward = canWebViewGoForward('web-view'); // #endif - // #ifdef WEB - this.canGoBack = canWebViewGoBack(this.webviewElement as UniWebViewElement); - this.canGoForward = canWebViewGoForward(this.webviewElement as UniWebViewElement); - // #endif if (this.autoTest) { this.eventLoad = { "tagName": event.target?.tagName,