🐞 fix(gvg): 完善队伍的刷新
This commit is contained in:
@@ -31,6 +31,7 @@ export class GVGTeamMem extends GVGTeam {
|
||||
|
||||
public updateTeam(team: GVGTeamType) {
|
||||
for(let key in team) {
|
||||
if(key == 'lineup' || key == '_id' || key == 'createdAt' || key == 'updatedAt') continue;
|
||||
this[key] = team[key];
|
||||
}
|
||||
this.isMoving = this.stopMoveTime > nowSeconds();
|
||||
|
||||
Reference in New Issue
Block a user