From c28d68960e88b4ae108007da5a6d257761d54bf1 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Thu, 19 Sep 2024 15:44:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A7=E5=93=81=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E5=9B=BD=E5=86=85=E4=BE=9B=E5=BA=94=E5=95=86=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: (