From b629750ec22f22f9a906f8f5d24e0209aa3df00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Wed, 28 Dec 2022 16:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=8D=87=E7=BA=A7layuiadmin=E5=90=8Eicon=E6=9C=AA?= =?UTF-8?q?=E6=9B=B4=E5=90=8D=E4=B8=BAiconPicker=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/views/system/sysmenu/create.html | 6 +++--- .../wwwroot/views/system/sysmenu/edit.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/create.html index a875f0f7..0a33a484 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/create.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/create.html @@ -91,19 +91,19 @@ layui.data.done = function (d) { //开启调试情况下获取接口赋值数据 if (debug) { console.log(d.params.data); } - layui.use(['admin', 'form', 'laydate', 'upload', 'coreHelper', 'xmSelect', 'icon'], + layui.use(['admin', 'form', 'laydate', 'upload', 'coreHelper', 'xmSelect', 'iconPicker'], function () { var $ = layui.$ , form = layui.form , admin = layui.admin , laydate = layui.laydate , upload = layui.upload - , icon = layui.icon + , iconPicker = layui.iconPicker , cropperImg = layui.cropperImg , xmSelect = layui.xmSelect; - icon.render({ + iconPicker.render({ elem: '.menuIcon' , style: 'color: #5FB878;' , placeholder: '' diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/edit.html index c7e4503d..331a007c 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/edit.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/system/sysmenu/edit.html @@ -90,19 +90,19 @@ layui.data.sendParams = function (d) { //开启调试情况下获取接口赋值数据 if (debug) { console.log(d.params.data); } - layui.use(['admin', 'form', 'laydate', 'upload', 'coreHelper', 'xmSelect', 'icon'], + layui.use(['admin', 'form', 'laydate', 'upload', 'coreHelper', 'xmSelect', 'iconPicker'], function () { var $ = layui.$ , form = layui.form , admin = layui.admin , laydate = layui.laydate , upload = layui.upload - , icon = layui.icon + , iconPicker = layui.iconPicker , cropperImg = layui.cropperImg , xmSelect = layui.xmSelect; - icon.render({ + iconPicker.render({ elem: '.menuIcon' , style: 'color: #5FB878;' , placeholder: d.params.data.menuIcon