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-sub-menu index="1">
<template #title>
<el-icon>
<location/>
</el-icon>
<!-- <el-icon>-->
<!-- <location></location>-->
<!-- </el-icon>-->
<span>Navigator One</span>
</template>
<el-menu-item-group title="Group One">
<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-group>
<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-menu-item index="2">
<el-icon>
<icon-menu/>
</el-icon>
<!-- <el-icon>-->
<!-- <icon-menu></icon-menu>-->
<!-- </el-icon>-->
<span>Navigator Two</span>
</el-menu-item>
<el-menu-item index="3" disabled>
<el-icon>
<document/>
</el-icon>
<el-menu-item index="3">
<!-- <el-icon>-->
<!-- <document></document>-->
<!-- </el-icon>-->
<span>Navigator Three</span>
</el-menu-item>
<el-menu-item index="4">
<el-icon>
<setting/>
</el-icon>
<!-- <el-icon>-->
<!-- <setting></setting>-->
<!-- </el-icon>-->
<span>Navigator Four</span>
</el-menu-item>
</el-menu>