mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2025-02-01 16:05:53 +00:00
增加 更新面板时触发对新获取角色数据进行强制排名更新 的逻辑
This commit is contained in:
parent
6f1eb64649
commit
159660108d
@ -36,13 +36,13 @@ export async function profileList (e) {
|
||||
tmp.level = profile.level || 1
|
||||
tmp.cons = profile.cons
|
||||
tmp.isNew = 0
|
||||
if (rank) {
|
||||
tmp.groupRank = await rank.getRank(profile)
|
||||
}
|
||||
if (newChar[char.name]) {
|
||||
tmp.isNew = 1
|
||||
newCount++
|
||||
}
|
||||
if (rank) {
|
||||
tmp.groupRank = await rank.getRank(profile, !!tmp.isNew)
|
||||
}
|
||||
chars.push(tmp)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user