src/components/menu/menu.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/menu/menu.js
@@ -112,7 +112,7 @@ return h( Item, {key: menu.fullPath}, [ h('a', {attrs: {href: '#' + menu.fullPath}}, h('router-link', {props: {to: menu.fullPath}}, [ this.renderIcon(h, menu.meta ? menu.meta.icon : 'none'), h('span', [this.$t(menu.fullPath.substring(1).replace(new RegExp('/', 'g'), '.') + '.name')])