From d1be007f8697ff485b2c3a854a61932433f5032d Mon Sep 17 00:00:00 2001 From: "DESKTOP-M4V1LH5\\Jin" Date: Wed, 20 Mar 2019 22:25:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8F=90=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AdminCP/Views/Product/AddCategory.cshtml | 15 +++++++-------- .../AdminCP/Views/Product/EditCategory.cshtml | 11 ++++++----- COMCMS.Web/Common/HomeBaseController.cs | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/COMCMS.Web/Areas/AdminCP/Views/Product/AddCategory.cshtml b/COMCMS.Web/Areas/AdminCP/Views/Product/AddCategory.cshtml index f630365..1b3f7c7 100644 --- a/COMCMS.Web/Areas/AdminCP/Views/Product/AddCategory.cshtml +++ b/COMCMS.Web/Areas/AdminCP/Views/Product/AddCategory.cshtml @@ -39,14 +39,11 @@
-
- - - - -
+ + + + +
@@ -141,6 +138,8 @@
"); + return Content($"", "text/html", System.Text.Encoding.UTF8); } /// /// Alert提示并跳转到指定URL @@ -39,7 +39,7 @@ namespace COMCMS.Web.Common public IActionResult AlertAndRedirect(string str, string url) { if (!string.IsNullOrWhiteSpace(str)) str = str.Replace("'", "\\'"); - return Content($""); + return Content($"", "text/html", System.Text.Encoding.UTF8); } #region MyRegion