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