From c5149d33c4b9874d52152549885c1729f8b41f67 Mon Sep 17 00:00:00 2001 From: yubaolee Date: Thu, 11 Jul 2024 21:18:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E6=A0=87=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=97=B6=E5=88=9D=E5=A7=8B=E5=8C=96=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.Mvc/Views/ModuleManager/Index.cshtml | 2 +- OpenAuth.Mvc/wwwroot/userJs/modules.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml b/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml index 1140019b..bcee31ab 100644 --- a/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml +++ b/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml @@ -198,4 +198,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/OpenAuth.Mvc/wwwroot/userJs/modules.js b/OpenAuth.Mvc/wwwroot/userJs/modules.js index 4caf0fc9..2f6cc1fa 100644 --- a/OpenAuth.Mvc/wwwroot/userJs/modules.js +++ b/OpenAuth.Mvc/wwwroot/userJs/modules.js @@ -133,7 +133,7 @@ layui.config({ form.val("formEdit", moduleInitVal); } else { form.val("formEdit", data); - form.render(); + iconPicker.checkIcon('iconPicker', data.IconName); } }, end: mainList @@ -181,7 +181,7 @@ layui.config({ form.val("mfromEdit", menuInital); } else { form.val("mfromEdit", data); - form.render(); + btnIconPicker.checkIcon('btnIconPicker', data.Icon); } }, end: menuList