mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
✨ 完成天赋数据渲染
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user