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 5ba46f730..b9a6cb1d1 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 bf918b92a..d20194cea 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(); } }