Commit 60d6c567 by 霍志良

fix:H5页面Title

parent a6260bbc
......@@ -36,7 +36,7 @@ ext {
"ydl-platform" : "0.0.40.62",
//第二步 若干
"ydl-webview" : "0.0.38.53",
"ydl-webview" : "0.0.38.56",
"ydl-media" : "0.0.21.10",
"ydl-pay" : "0.0.18.19",
"ydl-medical-pay" : "0.0.01.20",
......@@ -119,7 +119,7 @@ ext {
"ydl-platform" : "0.0.40.61",
//第二步 若干
"ydl-webview" : "0.0.38.53",
"ydl-webview" : "0.0.38.56",
"ydl-media" : "0.0.21.10",
"ydl-pay" : "0.0.18.19",
"ydl-medical-pay" : "0.0.01.19",
......
......@@ -696,8 +696,11 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
@Override
public void onReceivedTitle(WebView view, String title) {
super.onReceivedTitle(view, title);
LogUtil.e("H5页面title:"+title);
if (TextUtils.isEmpty(h5Params.getTitle())){
tb_title.setTitle(title);
}else{
tb_title.setTitle(h5Params.getTitle());
}
wv_content.setTitle(title);
if ("我的订单".equals(title)) {
......
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