...
|
...
|
@@ -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);
|
...
|
...
|
|