🐞 fix(后台): 保存开服策略不覆盖timers
This commit is contained in:
@@ -86,7 +86,7 @@ export class UpdateRegionParams {
|
||||
|
||||
maxPlayerCnt: number = 0;
|
||||
type: number = 0;
|
||||
timers: string[] = [];
|
||||
timers: string[];
|
||||
activityGroupId: number[] = [];
|
||||
openMail?: GMMail;
|
||||
// circleMail?: GMMail;
|
||||
@@ -107,7 +107,7 @@ export class UpdateRegionParams {
|
||||
// console.log('1111', !this.id, !this.name, !this.prefix, !isString(this.minVersion),!isString(this.curVersion), !isString(this.updateResUrl))
|
||||
return false
|
||||
}
|
||||
if(this.isOpen && (!this.maxPlayerCnt || !isArray(this.timers) || this.timers.length <= 0 || !isArray(this.activityGroupId) || this.activityGroupId.length <= 0 )) {
|
||||
if(this.isOpen && (!this.maxPlayerCnt || !isArray(this.activityGroupId) || this.activityGroupId.length <= 0 )) {
|
||||
// console.log('2222')
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user