Commit 044d6014 authored by wanglei's avatar wanglei

...

parent 72b3dc78
...@@ -158,7 +158,7 @@ class WebViewFragment(val url: String) : BaseFragment<FragmentWebViewBinding>() ...@@ -158,7 +158,7 @@ class WebViewFragment(val url: String) : BaseFragment<FragmentWebViewBinding>()
super.onReceivedSslError(view, handler, error) super.onReceivedSslError(view, handler, error)
job?.cancel() job?.cancel()
binding.webView.visibility = View.GONE binding.webView.visibility = View.GONE
binding.llError.visibility = View.VISIBLE binding.llError.visibility = View.GONE
if (error != null) { if (error != null) {
val domain = error.url val domain = error.url
// 获取错误码 // 获取错误码
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment