From 0f9c5fa96623d144d41c3cd2beb62f349b9168c0 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Tue, 21 Jul 2020 17:02:16 +0800 Subject: [PATCH] update Former-commit-id: b931c1232a5c462765897c316f5de98752c3f2eb Former-commit-id: 37d818ed138ff5ca9260355ced6513cdffbcd9e2 --- .../Shared/DisplayTemplates/Object.cshtml | 11 ++++++-- .../Views/Shared/EditorTemplates/Input.cshtml | 26 +++++-------------- .../Views/Shared/_Index_Row.cshtml | 11 +++++++- projects/WebMVC/appsettings.Development.json | 2 +- .../wwwroot/router/shared/edit/boolean.html | 2 +- 5 files changed, 27 insertions(+), 25 deletions(-) diff --git a/projects/Infrastructure/Views/Shared/DisplayTemplates/Object.cshtml b/projects/Infrastructure/Views/Shared/DisplayTemplates/Object.cshtml index c25e3abd..ab744cb9 100644 --- a/projects/Infrastructure/Views/Shared/DisplayTemplates/Object.cshtml +++ b/projects/Infrastructure/Views/Shared/DisplayTemplates/Object.cshtml @@ -4,11 +4,18 @@ @foreach (var prop in ViewData.ModelMetadata.Properties.Where(pm => pm.ShowForEdit && !pm.HideSurroundingHtml)) { var uihit = prop.DataTypeName ?? prop.TemplateHint; -