完成修改密码界面并修复了大量bug

This commit is contained in:
2023-12-16 09:16:17 +00:00
parent f1c95ea987
commit d23d0986d6
6 changed files with 307 additions and 9 deletions

View File

@ -69,6 +69,8 @@ async function Request(req)
localStorage.setItem("operation_count", operation_count);
return response;
}
var SessionReadyEvent = new Event('SessionReady');
(async () => {
if(session_token==null||outhentication_key==null||operation_count==null){
let tmp_channel=generateRandomString(10);
@ -79,6 +81,7 @@ async function Request(req)
localStorage.setItem("session_token", session_token);
localStorage.setItem("outhentication_key", outhentication_key);
localStorage.setItem("operation_count", operation_count);
document.dispatchEvent(SessionReadyEvent);
}
})();