完成天赋数据渲染

This commit is contained in:
BTMuli
2023-06-29 11:30:44 +08:00
parent 1f1c25c0bd
commit 8a5aa97b36
2 changed files with 134 additions and 57 deletions

View File

@@ -106,10 +106,11 @@ async function refreshRoles() {
async function refreshTalent() {
loadingTitle.value = "正在获取天赋数据";
loading.value = true;
const talentCookie = userStore.getCookieGroup2();
await Promise.allSettled(
roleList.value.map(async (role) => {
const res = await TGRequest.User.calculate.getSyncAvatarDetail(
roleCookie.value,
talentCookie,
user.value.gameUid,
role.cid,
);