mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 06:44:45 +08:00
优化登录功能
This commit is contained in:
@ -229,6 +229,7 @@ async function getRSILauncherToken() {
|
||||
});
|
||||
if (r.status !== 200) {
|
||||
// wait login
|
||||
window.chrome.webview.postMessage({action: 'webview_rsi_login_show_window'});
|
||||
return;
|
||||
}
|
||||
|
||||
@ -268,7 +269,7 @@ async function getRSILauncherToken() {
|
||||
body: releaseFormData
|
||||
});
|
||||
if (releaseR.status !== 200) return;
|
||||
let releaseDataJson = await releaseR.json();
|
||||
let releaseDataJson = (await releaseR.json())['data'];
|
||||
console.log(releaseDataJson);
|
||||
|
||||
// post message
|
||||
|
Reference in New Issue
Block a user