diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue index a1044b3..9eefc4c 100644 --- a/src/layout/components/Sidebar/Item.vue +++ b/src/layout/components/Sidebar/Item.vue @@ -36,18 +36,38 @@ export default { vnodes.push() } - if (title) { - vnodes.push({(title)}) + if (title) { + if(title.indexOf('-')>-1) { + + vnodes.push({(title.split('-')[0])}[{(title.split('-')[1])}]) + } + else{ + vnodes.push({(title)}) + } } return vnodes } } -