初始化顺序错误

This commit is contained in:
mamengke01
2021-01-08 18:18:49 +08:00
parent efe4143298
commit 49679a6bf5
2 changed files with 53 additions and 52 deletions

View File

@@ -77,9 +77,10 @@ export class EntryHandler {
let heros = await HeroModel.findByRole(role.roleId);
let equips = await EquipModel.findbyRole(role.roleId);
let items = await ItemModel.findbyRole(role.roleId);
await loginRefresh(role.roleId);
await chackFunOpenWhenLogin(role, session.get('funcs'));
await loginRefresh(role.roleId);
role['heros'] = heros.map(cur => returnHeroCeRatio(cur));
role['equips'] = equips;
role['consumeGoods'] = items;