|
@ -1,16 +1,16 @@ |
|
|
import { AvatarDropdown, AvatarName, Question, SelectLang } from '@/components'; |
|
|
import { AvatarDropdown, AvatarName, Question, SelectLang } from '@/components'; |
|
|
import { current } from '@/services/matrix/admin'; |
|
|
|
|
|
import { LinkOutlined } from '@ant-design/icons'; |
|
|
import { LinkOutlined } from '@ant-design/icons'; |
|
|
import { MenuDataItem, SettingDrawer } from '@ant-design/pro-components'; |
|
|
import { MenuDataItem, SettingDrawer } from '@ant-design/pro-components'; |
|
|
import { Link, history } from '@umijs/max'; |
|
|
import { Link, history } from '@umijs/max'; |
|
|
|
|
|
|
|
|
import { appList } from '@/services/matrix/admin'; |
|
|
|
|
|
import type { Settings as LayoutSettings } from '@ant-design/pro-components'; |
|
|
import type { Settings as LayoutSettings } from '@ant-design/pro-components'; |
|
|
import type { RunTimeLayoutConfig } from '@umijs/max'; |
|
|
import type { RunTimeLayoutConfig } from '@umijs/max'; |
|
|
import { JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react'; |
|
|
import { JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react'; |
|
|
import defaultSettings from '../config/defaultSettings'; |
|
|
import defaultSettings from '../config/defaultSettings'; |
|
|
import access from './access'; |
|
|
import access from './access'; |
|
|
import { errorConfig } from './requestErrorConfig'; |
|
|
import { errorConfig } from './requestErrorConfig'; |
|
|
|
|
|
import { appList, current } from './services/matrix/admin'; |
|
|
const isDev = process.env.NODE_ENV === 'development'; |
|
|
const isDev = process.env.NODE_ENV === 'development'; |
|
|
const loginPath = '/user/login'; |
|
|
const loginPath = '/user/login'; |
|
|
|
|
|
|
|
|