适配新版Mihomo Api,修正更新时的角色id记录

This commit is contained in:
Kokomi 2023-06-08 16:59:49 +08:00
parent 11b793019c
commit f19e59d518

View File

@ -42,7 +42,7 @@ export default {
lodash.forEach(data.avatars, (ds, id) => {
let ret = HomoData.setAvatar(player, ds)
if (ret) {
player._update.push(ds.AvatarID)
player._update.push(ds.avatarId)
}
})
} catch (e) {