fix: 增加提醒
This commit is contained in:
@@ -85,7 +85,7 @@ public class SaveMenuRequest : IValidatableObject
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user