支持配置一级菜单href跳转

This commit is contained in:
RuoYi
2019-07-26 19:00:30 +08:00
parent 9cf4b8935f
commit 9e2c685870
4 changed files with 12 additions and 6 deletions

View File

@ -146,16 +146,19 @@
$("#perms").parents(".form-group").hide();
$("#icon").parents(".form-group").show();
$("#target").parents(".form-group").hide();
$("input[name='visible']").parents(".form-group").show();
} else if (menuType == "C") {
$("#url").parents(".form-group").show();
$("#perms").parents(".form-group").show();
$("#icon").parents(".form-group").hide();
$("#icon").parents(".form-group").show();
$("#target").parents(".form-group").show();
$("input[name='visible']").parents(".form-group").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();
}
});
});