Commit e7374ead authored by 赵伟庚's avatar 赵伟庚

fix bug#7505

parent 73af8dd2
...@@ -31,7 +31,10 @@ ...@@ -31,7 +31,10 @@
:class="{current:isCurrent(item.children&&item.children.length?[...getChildrenPath(item.children),item.path]:[item.path])}" :class="{current:isCurrent(item.children&&item.children.length?[...getChildrenPath(item.children),item.path]:[item.path])}"
@click="$router.push(item.path)" @click="$router.push(item.path)"
> >
<span :style="{ paddingLeft: `${deep*2}em` }">{{ item.menuName }}</span> <span :style="{ paddingLeft: item.icon ? `${deep*2 - 1.37}em` :`${deep*2}em` }">
<bg-icon v-if="item.icon" style="color:#7c8292;" :icon="'#'+item.icon"></bg-icon>
{{ item.menuName }}
</span>
</div> </div>
</template> </template>
</li> </li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment