fix language
This commit is contained in:
@@ -7,7 +7,9 @@ namespace Atomx.Admin.Client.Validators
|
||||
{
|
||||
public LanguageModelValidator()
|
||||
{
|
||||
RuleFor(p => p.Title).NotEmpty().WithMessage("请填写语言标题");
|
||||
RuleFor(p => p.Name).NotEmpty().WithMessage("请填写语言名称");
|
||||
RuleFor(p => p.Culture).NotEmpty().WithMessage("请选择语言文化");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user