后台添加装备时可以选择武将穿上

This commit is contained in:
luying
2020-12-18 15:15:01 +08:00
parent b39c9bdc8b
commit f2c124a6e4
9 changed files with 592 additions and 267 deletions
@@ -83,11 +83,11 @@ export class EntryHandler {
let equips = await EquipModel.findbyRole(role.roleId);
let items = await ItemModel.findbyRole(role.roleId);
for(let i of heros) {
for(let j of i.ePlace) {
console.log(j.equip)
}
}
// for(let i of heros) {
// for(let j of i.ePlace) {
// console.log(j.equip)
// }
// }
role['heros'] = heros;
role['equips'] = equips;