diff --git a/ZR.Vue/src/layout/components/Sidebar/Item.vue b/ZR.Vue/src/layout/components/Sidebar/Item.vue index b515f61..0b584e1 100644 --- a/ZR.Vue/src/layout/components/Sidebar/Item.vue +++ b/ZR.Vue/src/layout/components/Sidebar/Item.vue @@ -17,11 +17,19 @@ export default { const vnodes = [] if (icon) { - vnodes.push() + vnodes.push() } if (title) { - vnodes.push({(title)}) + if (title.length > 5) { + vnodes.push( + + {title} + + ) + } else { + vnodes.push({title}) + } } return vnodes }