|
|
@ -13,7 +13,7 @@ import zhLocale from 'antd/locale/zh_CN'
|
|
|
|
import enLocale from 'antd/locale/en_US'
|
|
|
|
import enLocale from 'antd/locale/en_US'
|
|
|
|
import 'dayjs/locale/zh-cn'
|
|
|
|
import 'dayjs/locale/zh-cn'
|
|
|
|
import ErrorBoundary from '@/components/ErrorBoundary'
|
|
|
|
import ErrorBoundary from '@/components/ErrorBoundary'
|
|
|
|
import { BUILD_VERSION, PERM_PRODUCTS_OFFER_PUT, PERM_PRODUCTS_INFO_PUT } from '@/config'
|
|
|
|
import { BUILD_VERSION, GIT_HEAD, PERM_PRODUCTS_INFO_PUT } from '@/config'
|
|
|
|
import useNoticeStore from '@/stores/Notice'
|
|
|
|
import useNoticeStore from '@/stores/Notice'
|
|
|
|
import useAuthStore from '@/stores/Auth'
|
|
|
|
import useAuthStore from '@/stores/Auth'
|
|
|
|
import { useThemeContext } from '@/stores/ThemeContext'
|
|
|
|
import { useThemeContext } from '@/stores/ThemeContext'
|
|
|
@ -150,7 +150,7 @@ function App() {
|
|
|
|
<Content className='p-6 m-0 min-h-72 bg-white overflow-auto'>
|
|
|
|
<Content className='p-6 m-0 min-h-72 bg-white overflow-auto'>
|
|
|
|
{needToLogin ? <>login...</> : <Outlet />}
|
|
|
|
{needToLogin ? <>login...</> : <Outlet />}
|
|
|
|
</Content>
|
|
|
|
</Content>
|
|
|
|
<Footer>China Highlights International Travel Service Co., LTD, Version: {BUILD_VERSION}</Footer>
|
|
|
|
<Footer>China Highlights International Travel Service Co., LTD, Version: {BUILD_VERSION}({GIT_HEAD})</Footer>
|
|
|
|
</Layout>
|
|
|
|
</Layout>
|
|
|
|
</ErrorBoundary>
|
|
|
|
</ErrorBoundary>
|
|
|
|
</AntApp>
|
|
|
|
</AntApp>
|
|
|
|