新增菜单导航显示风格(default为左侧导航菜单,topnav为顶部导航菜单)

This commit is contained in:
RuoYi
2020-09-03 15:41:29 +08:00
parent 2b0e3546ff
commit b4aa7232a0
2 changed files with 19 additions and 9 deletions

View File

@ -297,9 +297,9 @@ function switchSkin() {
/* 切换菜单 */
function toggleMenu() {
$.modal.confirm("确认要切换成横向菜单吗?", function() {
$.get(ctx + 'system/menuStyle/topnav',function(result){
$.get(ctx + 'system/menuStyle/topnav', function(result) {
window.location.reload();
});
});
})
}