mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-19 04:29:45 +08:00
🚸 优化扫码加载
This commit is contained in:
@@ -197,10 +197,10 @@ async function cycleGetDataGame(): Promise<void> {
|
||||
const statusRaw: TGApp.Game.Login.StatPayloadRaw = JSON.parse(res.payload.raw);
|
||||
await showLoading.start("正在获取SToken");
|
||||
const stResp = await takumiReq.game.stoken(statusRaw);
|
||||
await showLoading.end();
|
||||
if ("retcode" in stResp) {
|
||||
showSnackbar.error(`[${stResp.retcode}] ${stResp.message}`);
|
||||
model.value = false;
|
||||
await showLoading.end();
|
||||
return;
|
||||
}
|
||||
const ck: TGApp.App.Account.Cookie = {
|
||||
|
||||
Reference in New Issue
Block a user