diff --git a/src/config/index.js b/src/config/index.js index 9028d9d..a790059 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -43,7 +43,7 @@ const DEFAULT_CONFIG = { LAYOUT: "menu", //菜单是否折叠 - MENU_IS_COLLAPSE: false, + MENU_IS_COLLAPSE: true, //菜单是否启用手风琴效果 MENU_UNIQUE_OPENED: true, diff --git a/src/layout/index.vue b/src/layout/index.vue index 6ddc38b..c7427cf 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -54,9 +54,15 @@