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
79425cd9
Commit
79425cd9
authored
Jul 13, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:webview增加log日志
parent
5d35e36d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
config.gradle
config.gradle
+1
-1
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+1
-0
No files found.
config.gradle
View file @
79425cd9
ext
{
dev_mode
=
fals
e
//组件发布的时候需要设置为false
dev_mode
=
tru
e
//组件发布的时候需要设置为false
ydl2PublishVersion
=
"0.2.0.17-SNAPSHOT"
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
...
...
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
79425cd9
...
...
@@ -829,6 +829,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
super
.
onReceivedError
(
view
,
errorCode
,
description
,
failingUrl
);
AliYunRichLogsHelper
.
Companion
.
getInstance
()
.
sendRichLog
(
AliYunLogConfig
.
WEB
,
"onReceivedError---- errorCode: "
+
errorCode
+
"----failingUrl:"
+
failingUrl
);
LogUtil
.
e
(
"webviewErrorCode:"
+
errorCode
+
"description:"
+
description
);
loadFailed
=
true
;
tb_title
.
setTitle
(
"加载中"
);
if
(
wv_content
!=
null
)
{
...
...
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