通过配置路由path来完成内容显示切换逻辑 使用菜单项中的index属性来指定切换后的路由path https://element-plus.org/zh-CN/component/menu.html 自带折叠功能 把文字折叠, 只剩图标