后台:设置军团练兵场关卡
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user