|
|
@ -62,16 +62,17 @@ function myDiskMenu(islogin){ |
|
|
|
alistData.config = alistconfig; |
|
|
|
alistData.config = alistconfig; |
|
|
|
fy_bridge_app.writeFile(alistfile, JSON.stringify(alistData)); |
|
|
|
fy_bridge_app.writeFile(alistfile, JSON.stringify(alistData)); |
|
|
|
localStorage.clear(); |
|
|
|
localStorage.clear(); |
|
|
|
alert('TOKEN获取成功,返回后刷新页面!'); |
|
|
|
fy_bridge_app.back(true); |
|
|
|
fy_bridge_app.parseLazyRule(`hiker://empty@lazyRule=.js:refreshX5WebView('');`); |
|
|
|
alert('TOKEN获取成功,请勿泄漏!'); |
|
|
|
fy_bridge_app.back(); |
|
|
|
//fy_bridge_app.parseLazyRule(`hiker://empty@lazyRule=.js:refreshX5WebView('');`);
|
|
|
|
|
|
|
|
//fy_bridge_app.back();
|
|
|
|
return; |
|
|
|
return; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
token_timer(); |
|
|
|
token_timer(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
var token_timer = function () { |
|
|
|
var token_timer = function () { |
|
|
|
setTimeout(tokenFunction, 500) |
|
|
|
setTimeout(tokenFunction, 300) |
|
|
|
}; |
|
|
|
}; |
|
|
|
tokenFunction(); |
|
|
|
tokenFunction(); |
|
|
|
}) |
|
|
|
}) |
|
|
@ -81,7 +82,8 @@ function myDiskMenu(islogin){ |
|
|
|
desc: '100%&&float', |
|
|
|
desc: '100%&&float', |
|
|
|
extra: { |
|
|
|
extra: { |
|
|
|
canBack: true, |
|
|
|
canBack: true, |
|
|
|
js: js |
|
|
|
js: js, |
|
|
|
|
|
|
|
urlInterceptor: $.toString(() => true) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
setResult(d); |
|
|
|
setResult(d); |
|
|
|