后台:设置军团练兵场关卡

This commit is contained in:
luying
2022-08-26 11:34:07 +08:00
parent faa05c72d6
commit 4989ff6846
4 changed files with 34 additions and 2 deletions
+3
View File
@@ -295,6 +295,7 @@ export class GuildFormParam {
wishPool: number;
store: number;
donate: number;
trainLv: string;
constructor(obj?: any) {
if(obj) {
@@ -316,6 +317,8 @@ export class GuildFormParam {
if(this.wishPool && !isNumber(this.wishPool)) return false;
if(this.store && !isNumber(this.store)) return false;
if(this.donate && !isNumber(this.donate)) return false;
if(this.trainLv && !isString(this.trainLv)) return false;
return true;
}
}