在server/config/application.yml修改配置项 找到如下配置,将配置项改no即可 #是否自动闭合左侧菜单,yes是,no否 sidebarCollapse: yes 好了,我们重启server试试