<el-scrollbar height="calc(100vh - 60px)">
<el-menu
:default-openeds="['1']"
background-color="#001529"
text-color="#ffffff"
>
<el-menu-item index="1" @click="click('home')"
><el-icon><message /></el-icon>首页运营</el-menu-item
>
<el-menu-item index="11" @click="click('people')"
><el-icon><message /></el-icon>首页运营</el-menu-item
>
<el-sub-menu index="2">
<template #title>
<el-icon><icon-menu /></el-icon>数据报表
VUE3 el-menu菜单设置
最新推荐文章于 2024-07-23 21:45:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)