fix: bug修复

This commit is contained in:
wenhua
2024-07-09 23:31:10 +08:00
parent cbc97891b8
commit 7836450a10
4 changed files with 21 additions and 7 deletions

View File

@@ -17,7 +17,9 @@
</a>
</div>
<div v-else>
<svg-icon :name="item.icon"/>
<el-icon>
<svg-icon :name="item.icon" class="menu-item-icon"/>
</el-icon>
<span>{{ item.title }}</span>
</div>
</template>
@@ -60,3 +62,10 @@ const checkMenuItem = (item) => {
</script>
<!-- <style lang="scss" scoped>
.menu-item-icon {
width: 18px !important;
height: 18px !important;
margin-left: 0;
}
</style> -->