Update ExtensionProperties.razor

pull/9411/head
liangshiwei 4 years ago
parent acb30e73d6
commit 3936269d68

@ -3,7 +3,6 @@
@using Volo.Abp.ObjectExtending
@using Volo.Abp.Localization
@using Volo.Abp.Data
@using Newtonsoft.Json
@{
Entity.SetDefaultsForExtraProperties();
@ -23,8 +22,6 @@
else
{
var inputType = propertyInfo.GetInputType();
Console.WriteLine(JsonConvert.SerializeObject(propertyInfo));
__builder.OpenComponent(0, inputType.MakeGenericType(new[] { typeof(TEntityType), typeof(TResourceType) }));
__builder.AddAttribute(1, "PropertyInfo", propertyInfo);
__builder.AddAttribute(2, "Entity", Entity);

Loading…
Cancel
Save