Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
杨延青
6 years ago
Commit
e38ea01a844d7e13d55dc14b302e0d168e72bf2a
1 parent
4674496d
Update open-miniapp.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
public/js/common/open-miniapp.js
public/js/common/open-miniapp.js
View file @
e38ea01
...
...
@@ -6,10 +6,14 @@ let retry = 6;
function
goMiniapp
(
apppath
)
{
retry
--
;
if
(
!
window
.
wx
&&
retry
)
{
return
setTimeout
(
function
()
{
goMiniapp
(
apppath
);
},
300
);
if
(
!
window
.
wx
)
{
if
(
retry
>
0
)
{
setTimeout
(
function
()
{
goMiniapp
(
apppath
);
},
300
);
}
return
;
}
let
transData
=
transToMiniappPath
(
apppath
);
...
...
Please
register
or
login
to post a comment