fix: 增加提醒

This commit is contained in:
2026-06-23 15:33:07 +08:00
parent 3514610857
commit ca55204b4a

View File

@@ -85,7 +85,7 @@ public class SaveMenuRequest : IValidatableObject
if (MenuType == MenuEnumType.Folder && !string.IsNullOrEmpty(PCode)) if (MenuType == MenuEnumType.Folder && !string.IsNullOrEmpty(PCode))
{ {
yield return new ValidationResult("目录类型无需传入上级code", new[] { nameof(PCode) }); yield return new ValidationResult($"{Title} , 目录类型无需传入上级code", new[] { nameof(PCode) });
} }
//自动生成code //自动生成code