fix language

This commit is contained in:
2025-12-05 02:13:05 +08:00
parent 00dd4fa958
commit ac50b3fccd
7 changed files with 206 additions and 54 deletions

View File

@@ -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("请选择语言文化");
}
}
}