Commit b89f4ac4 by yancanhua

fix: 前端资源图标显示问题修改

1 parent 57bcf971
......@@ -4,8 +4,8 @@
<!-- 有子菜单的情况 -->
<a-sub-menu v-if="!item.value && item.children?.length>0&&item.type==='MENU'" :key="item.code">
<template #icon v-if="item.icon">
<img v-if="openKeys.includes(item.code)" :src="'/admin/main/assets/icons/'+item.icon+'_off.png'" alt="" class="menu-item-icon">
<img v-else :src="'/admin/main/assets/icons/'+item.icon+'_on.png'" alt="" class="menu-item-icon">
<img v-if="openKeys.includes(item.code)" :src="'/assets/icons/'+item.icon+'_off.png'" alt="" class="menu-item-icon">
<img v-else :src="'/assets/icons/'+item.icon+'_on.png'" alt="" class="menu-item-icon">
</template>
<template #title>
<span>{{ item.name }}</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!