🐛 修复特定条件下数据未即时刷新

This commit is contained in:
目棃
2024-09-26 08:57:03 +08:00
parent 525d775529
commit f6dfdc8b36

View File

@@ -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" });