From d6260f19069e3b597cfc0aa5830a467da8d23d7f Mon Sep 17 00:00:00 2001 From: wangziyangyang <707231019@qq.com> Date: Fri, 27 Mar 2020 15:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B3=A8=E9=87=8A=E3=80=82?= =?UTF-8?q?=E4=BC=98=E5=8C=96logo=20=E5=8A=A0=E8=BD=BD=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mes/system/service/impl/SysMenuServiceImpl.java | 2 +- mes/src/main/resources/templates/admin/index.ftl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mes/src/main/java/com/wangziyang/mes/system/service/impl/SysMenuServiceImpl.java b/mes/src/main/java/com/wangziyang/mes/system/service/impl/SysMenuServiceImpl.java index 32c9ef3..a26e9b7 100644 --- a/mes/src/main/java/com/wangziyang/mes/system/service/impl/SysMenuServiceImpl.java +++ b/mes/src/main/java/com/wangziyang/mes/system/service/impl/SysMenuServiceImpl.java @@ -62,7 +62,7 @@ public class SysMenuServiceImpl extends ServiceImpl impl Map logoInfo = new HashMap<>(4); logoInfo.put("name", "黑科制造MES"); - logoInfo.put("image", "image/logo.png"); + logoInfo.put("image", "/image/logo.png"); logoInfo.put("url", ""); Map menuInfo = new LinkedHashMap<>(8); diff --git a/mes/src/main/resources/templates/admin/index.ftl b/mes/src/main/resources/templates/admin/index.ftl index cc4226c..b069da6 100644 --- a/mes/src/main/resources/templates/admin/index.ftl +++ b/mes/src/main/resources/templates/admin/index.ftl @@ -110,7 +110,9 @@ form = layui.form; spLayui.init('${request.contextPath}/admin/list/index/menu/tree'); - + /** + * 搜索后重新绘制菜单 + */ form.on('submit(js-search-filter)', function (data) { if (data.field.search) {