|
|
|
@ -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: <Link to='/report'>{t('menu.Report')}</Link> } : null,
|
|
|
|
|
isPermitted(PERM_AIR_TICKET) ? { key: 'airticket', label: <Link to='/airticket'>{t('menu.Airticket')}</Link> } : null,
|
|
|
|
|
isPermitted(PERM_PRODUCTS_MANAGEMENT) ? { key: 'products', label: <Link to='/products'>{t('menu.Products')}</Link> } : null,
|
|
|
|
|
isPermitted(PERM_PRODUCTS_INFO_PUT) ? { key: 'products', label: <Link to='/products/edit'>{t('menu.Products')}</Link> } : null,
|
|
|
|
|
{
|
|
|
|
|
key: 'notice',
|
|
|
|
|
label: (
|
|
|
|
|