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