diff --git a/src/views/App.jsx b/src/views/App.jsx index c3080dc..3ac4b81 100644 --- a/src/views/App.jsx +++ b/src/views/App.jsx @@ -11,7 +11,7 @@ import enLocale from 'antd/locale/en_US' import 'dayjs/locale/zh-cn' import { BugOutlined } from "@ant-design/icons" import ErrorBoundary from '@/components/ErrorBoundary' -import { BUILD_VERSION, } from '@/config' +import { BUILD_VERSION, PERM_PRODUCTS_OFFER_PUT, PERM_PRODUCTS_INFO_PUT } from '@/config' import useNoticeStore from '@/stores/Notice' import useAuthStore from '@/stores/Auth' import { useThemeContext } from '@/stores/ThemeContext' @@ -103,6 +103,7 @@ function App() { isPermitted(PERM_OVERSEA) ? { key: 'report', label: {t('menu.Report')} } : null, isPermitted(PERM_AIR_TICKET) ? { key: 'airticket', label: {t('menu.Airticket')} } : null, isPermitted(PERM_PRODUCTS_MANAGEMENT) ? { key: 'products', label: {t('menu.Products')} } : null, + isPermitted(PERM_PRODUCTS_INFO_PUT) ? { key: 'products', label: {t('menu.Products')} } : null, { key: 'notice', label: (