Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
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
leiqingsong
XiTianSenMall
Commits
fd6f0e99
Commit
fd6f0e99
authored
4 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改设置界面的bug
parent
62e805e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
bridgeToAppFun.js
H5/src/utils/bridgeToAppFun.js
+1
-9
No files found.
H5/src/utils/bridgeToAppFun.js
View file @
fd6f0e99
...
...
@@ -65,16 +65,8 @@ class bridgeToAppFun {
if
(
this
.
userAgent
===
"android"
)
{
console
.
log
(
"an"
);
try
{
const
referrer
=
document
.
referrer
;
if
(
referrer
!==
""
)
{
console
.
log
(
"reffer不为空"
,
referrer
);
const
home_url
=
"https://shop92680967.youzan.com/v2/showcase/homepage?alias=6aFsQ4vCp7"
;
const
home_url
=
"https://shop92680967.youzan.com/v2/showcase/homepage?alias=6aFsQ4vCp7"
;
location
.
href
=
home_url
;
}
else
{
console
.
log
(
"调用navigateBack"
);
window
.
android
.
navigateBack
();
}
}
catch
{
console
.
log
(
"返回调用失败,都不行"
);
}
...
...
This diff is collapsed.
Click to expand it.
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