fix
杨锴
2025-04-16 f646fbebad928833d15546a36e37768d00fe6173
WanPai/Common/VC/CommonWebVC.swift
@@ -35,6 +35,11 @@
                        view_btns.isHidden = true
                        webView.navigationDelegate = self
        yy_popBlock = {[unowned self] in
            NotificationCenter.default.post(name: Noti_showSheetView, object: nil)
            self.navigationController?.popViewController(animated: true)
        }
                        if type != .other{
                                    title = type.titleStr
@@ -44,6 +49,11 @@
                                                title = type.titleStr
                                    }
            if !content.isEmpty{
                webView.loadHTMLString(content!.jq_wrapHtml(), baseURL: nil)
                return
            }
                                    Services.queryProtocol(type,progress: false).subscribe(onNext: {[weak self] result in
                                                if let text = result.data?.jq_wrapHtml(edge: .init(top: 5, left:0, bottom: 0, right: 0)){
                                                            self?.webView.loadHTMLString(text, baseURL: nil)