Update layout.vue

This commit is contained in:
邹景立 2021-11-26 22:38:06 +08:00
parent 94626bfe36
commit d7ec245481

View File

@ -26,39 +26,33 @@
<el-menu default-active="2"> <el-menu default-active="2">
<el-sub-menu index="1"> <el-sub-menu index="1">
<template #title> <template #title>
<el-icon> <!-- <el-icon>-->
<location/> <!-- <location></location>-->
</el-icon> <!-- </el-icon>-->
<span>Navigator One</span> <span>Navigator One</span>
</template> </template>
<el-menu-item-group title="Group One">
<el-menu-item index="1-1">item one</el-menu-item> <el-menu-item index="1-1">item one</el-menu-item>
<el-menu-item index="1-2">item one</el-menu-item> <el-menu-item index="1-2">item one</el-menu-item>
</el-menu-item-group> <el-menu-item index="1-3">item three</el-menu-item>
<el-menu-item-group title="Group Two">
<el-menu-item index="1-3">item three</el-menu-item>
</el-menu-item-group>
<el-sub-menu index="1-4">
<template #title>item four</template>
<el-menu-item index="1-4-1">item one</el-menu-item>
</el-sub-menu>
</el-sub-menu> </el-sub-menu>
<el-menu-item index="2"> <el-menu-item index="2">
<el-icon> <!-- <el-icon>-->
<icon-menu/> <!-- <icon-menu></icon-menu>-->
</el-icon> <!-- </el-icon>-->
<span>Navigator Two</span> <span>Navigator Two</span>
</el-menu-item> </el-menu-item>
<el-menu-item index="3" disabled> <el-menu-item index="3">
<el-icon> <!-- <el-icon>-->
<document/> <!-- <document></document>-->
</el-icon> <!-- </el-icon>-->
<span>Navigator Three</span> <span>Navigator Three</span>
</el-menu-item> </el-menu-item>
<el-menu-item index="4"> <el-menu-item index="4">
<el-icon> <!-- <el-icon>-->
<setting/> <!-- <setting></setting>-->
</el-icon> <!-- </el-icon>-->
<span>Navigator Four</span> <span>Navigator Four</span>
</el-menu-item> </el-menu-item>
</el-menu> </el-menu>