From 7cf0259eba4830a2ac8cc777078d95a921e831c0 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Mon, 10 Jan 2022 10:50:35 +0800 Subject: [PATCH] update Nav --- .../components/vertical-nav-menu-header/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-header/index.js b/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-header/index.js index 5638c875..a9ecce90 100644 --- a/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-header/index.js +++ b/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-header/index.js @@ -1,7 +1,7 @@ -import { useUtils as useI18nUtils } from '@core/libs/i18n' +// import { useUtils as useI18nUtils } from '@core/libs/i18n' import { useUtils as useAclUtils } from '@core/libs/acl' -const { t } = useI18nUtils() +// const { t } = useI18nUtils() const { canViewVerticalNavMenuHeader } = useAclUtils() export default { @@ -12,7 +12,7 @@ export default { }, }, render(h) { - const span = h('span', {}, t(this.item.header)) + const span = h('span', {}, this.item.header) const icon = h('feather-icon', { props: { icon: 'MoreHorizontalIcon', size: '18' } }) if (canViewVerticalNavMenuHeader(this.item)) { return h('li', { class: 'navigation-header text-truncate' }, [span, icon])