临时修改老数据缺少字段的问题
This commit is contained in:
@@ -111,8 +111,8 @@ export class ComBattleHandler {
|
||||
let roleStatus = new RoleStatus();
|
||||
roleStatus.heroes = [];
|
||||
roleStatus.isCap = false;
|
||||
roleStatus.headHid = headHid;
|
||||
roleStatus.topFiveCe = topFiveCe;
|
||||
roleStatus.headHid = headHid || roleStatus.headHid;
|
||||
roleStatus.topFiveCe = topFiveCe || roleStatus.topFiveCe;
|
||||
roleStatus.roleId = roleId;
|
||||
roleStatus.isFrd = isFrd;
|
||||
const team = await ComBattleTeamModel.addRole(teamCode, roleStatus);
|
||||
|
||||
Reference in New Issue
Block a user