From 11c5d63a7ef8cfb9e03e32dc02e922ee665e67ac Mon Sep 17 00:00:00 2001 From: ludj Date: Wed, 30 Nov 2022 16:39:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/modules/system/service/impl/MenuServiceImpl.java | 2 +- nladmin-ui/src/views/system/menu/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nladmin-system/nlsso-server/src/main/java/org/nl/modules/system/service/impl/MenuServiceImpl.java b/nladmin-system/nlsso-server/src/main/java/org/nl/modules/system/service/impl/MenuServiceImpl.java index 4a178f6..965b107 100644 --- a/nladmin-system/nlsso-server/src/main/java/org/nl/modules/system/service/impl/MenuServiceImpl.java +++ b/nladmin-system/nlsso-server/src/main/java/org/nl/modules/system/service/impl/MenuServiceImpl.java @@ -231,7 +231,7 @@ public class MenuServiceImpl implements MenuService { WQLObject menuTab = WQLObject.getWQLObject("sys_menu"); JSONArray menus; if (pid != null && !pid.equals("0")) { - menus = menuTab.query("menu_id = '" + pid + "'").getResultJSONArray(0); + menus = menuTab.query("pid = '" + pid + "'").getResultJSONArray(0); } else { menus = menuTab.query("(pid =0 or pid is null)").getResultJSONArray(0); } diff --git a/nladmin-ui/src/views/system/menu/index.vue b/nladmin-ui/src/views/system/menu/index.vue index 16a9c32..4f76847 100644 --- a/nladmin-ui/src/views/system/menu/index.vue +++ b/nladmin-ui/src/views/system/menu/index.vue @@ -119,7 +119,7 @@ - +