From bdcf8af783aed056372e5f3a07357e2eb9737664 Mon Sep 17 00:00:00 2001 From: yxq Date: Thu, 17 Oct 2024 16:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.Web/Content/ueditor/ueditor.view.js | 7 +++++++ .../Controllers/UtilityController.cs | 1 + 2 files changed, 8 insertions(+) create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js new file mode 100644 index 000000000..b87b117a0 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js @@ -0,0 +1,7 @@ +let imgs = document.querySelectorAll('img') +imgs.forEach(e => { + let src = e.getAttribute('src') + if (src.includes('Content/ueditor/dialogs/attachment/fileTypeImages/icon_')){ + e.style.display = 'none' + } +}) \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs index 56b697465..1d26e2050 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs @@ -607,6 +607,7 @@ namespace Learun.Application.Web.Controllers public ActionResult ListContentView(string keyValue) { var data = noticeIBLL.GetEntity(keyValue); + data.F_NewsContent = data.F_NewsContent + ""; data.F_NewsContent = WebHelper.HtmlDecode(data.F_NewsContent); return Content(data.F_NewsContent); }