From f05195d37371c113d378e0195d11476232312576 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 18 Sep 2023 14:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8F=9C=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=B1=BB=E5=9E=8B=E4=B8=BA=E6=8C=89=E9=92=AE=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=8F=AF=E9=80=89(I7VZEJ)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/templates/system/menu/add.html | 3 --- ruoyi-admin/src/main/resources/templates/system/menu/edit.html | 3 --- 2 files changed, 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/menu/add.html b/ruoyi-admin/src/main/resources/templates/system/menu/add.html index 5ba46f73..b9a6cb1d 100644 --- a/ruoyi-admin/src/main/resources/templates/system/menu/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/menu/add.html @@ -154,21 +154,18 @@ $("#perms").parents(".form-group").hide(); $("#icon").parents(".form-group").show(); $("#target").parents(".form-group").hide(); - $("input[name='visible']").parents(".form-group").show(); $(".is-refresh").hide(); } else if (menuType == "C") { $("#url").parents(".form-group").show(); $("#perms").parents(".form-group").show(); $("#icon").parents(".form-group").show(); $("#target").parents(".form-group").show(); - $("input[name='visible']").parents(".form-group").show(); $(".is-refresh").show(); } else if (menuType == "F") { $("#url").parents(".form-group").hide(); $("#perms").parents(".form-group").show(); $("#icon").parents(".form-group").hide(); $("#target").parents(".form-group").hide(); - $("input[name='visible']").parents(".form-group").hide(); $(".is-refresh").hide(); } }); diff --git a/ruoyi-admin/src/main/resources/templates/system/menu/edit.html b/ruoyi-admin/src/main/resources/templates/system/menu/edit.html index bf918b92..d20194ce 100644 --- a/ruoyi-admin/src/main/resources/templates/system/menu/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/menu/edit.html @@ -170,21 +170,18 @@ $("#perms").parents(".form-group").hide(); $("#icon").parents(".form-group").show(); $("#target").parents(".form-group").hide(); - $("input[name='visible']").parents(".form-group").show(); $(".is-refresh").hide(); } else if (menuType == "C") { $("#url").parents(".form-group").show(); $("#perms").parents(".form-group").show(); $("#icon").parents(".form-group").show(); $("#target").parents(".form-group").show(); - $("input[name='visible']").parents(".form-group").show(); $(".is-refresh").show(); } else if (menuType == "F") { $("#url").parents(".form-group").hide(); $("#perms").parents(".form-group").show(); $("#icon").parents(".form-group").hide(); $("#target").parents(".form-group").hide(); - $("input[name='visible']").parents(".form-group").hide(); $(".is-refresh").hide(); } }