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

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
+1 -1
View File
@@ -152,7 +152,7 @@ export default class Hero extends BaseModel {
{$set: {'ePlace.$.equip': equipId}},
{new: true}).lean(lean);
if (hero) {
await Equip.putOn(hero.hid, equipId);
await Equip.putOn(hero.hid, equipId);
}
return hero;
}