This commit is contained in:
yumoqing 2020-03-16 10:06:42 +08:00
parent 5ddf6bb704
commit 0e50faf650

View File

@ -29,7 +29,6 @@ class AWebView(Widget):
wvc = WebViewClient() wvc = WebViewClient()
self.webview.setWebViewClient(wvc) self.webview.setWebViewClient(wvc)
activity.setContentView(self.webview) activity.setContentView(self.webview)
self.add_widget(self.webview)
if self.baseUrl is not None: if self.baseUrl is not None:
self.webview.loadUrl(self.baseUrl) self.webview.loadUrl(self.baseUrl)
print('go to the url=',self.baseUrl) print('go to the url=',self.baseUrl)