mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 修复特定条件下数据未即时刷新
This commit is contained in:
@@ -164,6 +164,7 @@ async function refreshRecord(): Promise<void> {
|
||||
loadingTitle.value = "正在保存战绩数据";
|
||||
await TSUserRecord.saveRecord(Number(user.value.gameUid), res);
|
||||
await loadUid();
|
||||
await loadRecord();
|
||||
if (recordData.value === undefined) await loadRecord();
|
||||
} else {
|
||||
showSnackbar({ text: `[${res.retcode}] ${res.message}`, color: "error" });
|
||||
|
||||
Reference in New Issue
Block a user