Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
60d6c567
Commit
60d6c567
authored
Dec 02, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:H5页面Title
parent
a6260bbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
config.gradle
config.gradle
+2
-2
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+3
-0
No files found.
config.gradle
View file @
60d6c567
...
...
@@ -36,7 +36,7 @@ ext {
"ydl-platform"
:
"0.0.40.62"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.5
3
"
,
"ydl-webview"
:
"0.0.38.5
6
"
,
"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.5
3
"
,
"ydl-webview"
:
"0.0.38.5
6
"
,
"ydl-media"
:
"0.0.21.10"
,
"ydl-pay"
:
"0.0.18.19"
,
"ydl-medical-pay"
:
"0.0.01.19"
,
...
...
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
60d6c567
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment