Pre rename dir
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
import Icon from '@ant-design/icons'
|
||||
import SidebarSubmenu from '@/components/common/sidebar/SidebarSubmenu'
|
||||
import SidebarSubmenu from '@/components/common/sidebar_/SidebarSubmenu'
|
||||
|
||||
type ItemProps = {
|
||||
icon?: IconComponent
|
||||
@@ -2,8 +2,8 @@ import React from 'react'
|
||||
import Icon from '@ant-design/icons'
|
||||
import '@/assets/css/components/common/sidebar.scss'
|
||||
import { getLocalStorage, setLocalStorage } from '@/util/browser'
|
||||
import SidebarSeparate from '@/components/common/sidebar/SidebarSeparate'
|
||||
import SidebarFooter from '@/components/common/sidebar/SidebarFooter'
|
||||
import SidebarSeparate from '@/components/common/sidebar_/SidebarSeparate'
|
||||
import SidebarFooter from '@/components/common/sidebar_/SidebarFooter'
|
||||
|
||||
interface SidebarProps extends React.PropsWithChildren {
|
||||
title: string
|
||||
@@ -2,9 +2,9 @@ import React from 'react'
|
||||
import '@/assets/css/pages/system-framework.scss'
|
||||
import { getSystemRouteJson } from '@/router/system'
|
||||
import FitFullscreen from '@/components/common/FitFullscreen'
|
||||
import Sidebar from '@/components/common/sidebar'
|
||||
import SidebarItemList from '@/components/common/sidebar/SidebarItemList'
|
||||
import SidebarItem from '@/components/common/sidebar/SidebarItem'
|
||||
import Sidebar from 'src/components/common/sidebar_'
|
||||
import SidebarItemList from '@/components/common/sidebar_/SidebarItemList'
|
||||
import SidebarItem from '@/components/common/sidebar_/SidebarItem'
|
||||
import FullscreenLoadingMask from '@/components/common/FullscreenLoadingMask'
|
||||
|
||||
const SystemFramework: React.FC = () => {
|
||||
|
||||
@@ -2,11 +2,11 @@ import React from 'react'
|
||||
import '@/assets/css/pages/tools-framework.scss'
|
||||
import { tools } from '@/router/tools'
|
||||
import FitFullscreen from '@/components/common/FitFullscreen'
|
||||
import SidebarScroll, { SidebarScrollElement } from '@/components/common/sidebar/SidebarScroll'
|
||||
import Sidebar from '@/components/common/sidebar'
|
||||
import SidebarItemList from '@/components/common/sidebar/SidebarItemList'
|
||||
import SidebarItem from '@/components/common/sidebar/SidebarItem'
|
||||
import SidebarSeparate from '@/components/common/sidebar/SidebarSeparate'
|
||||
import SidebarScroll, { SidebarScrollElement } from '@/components/common/sidebar_/SidebarScroll'
|
||||
import Sidebar from 'src/components/common/sidebar_'
|
||||
import SidebarItemList from '@/components/common/sidebar_/SidebarItemList'
|
||||
import SidebarItem from '@/components/common/sidebar_/SidebarItem'
|
||||
import SidebarSeparate from '@/components/common/sidebar_/SidebarSeparate'
|
||||
import FullscreenLoadingMask from '@/components/common/FullscreenLoadingMask'
|
||||
|
||||
const ToolsFramework: React.FC = () => {
|
||||
|
||||
@@ -3,9 +3,9 @@ import '@/assets/css/pages/user-framework.scss'
|
||||
import user from '@/router/user'
|
||||
import { hasPathPermission } from '@/util/auth'
|
||||
import FitFullscreen from '@/components/common/FitFullscreen'
|
||||
import Sidebar from '@/components/common/sidebar'
|
||||
import SidebarItemList from '@/components/common/sidebar/SidebarItemList'
|
||||
import SidebarItem from '@/components/common/sidebar/SidebarItem'
|
||||
import Sidebar from 'src/components/common/sidebar_'
|
||||
import SidebarItemList from '@/components/common/sidebar_/SidebarItemList'
|
||||
import SidebarItem from '@/components/common/sidebar_/SidebarItem'
|
||||
import FullscreenLoadingMask from '@/components/common/FullscreenLoadingMask'
|
||||
|
||||
const ToolsFramework: React.FC = () => {
|
||||
|
||||
@@ -4,10 +4,10 @@ import { useUpdatedEffect } from '@/util/hooks'
|
||||
import FitFullscreen from '@/components/common/FitFullscreen'
|
||||
import FitCenter from '@/components/common/FitCenter'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import SignUp from '@/pages/sign/SignUp'
|
||||
import Verify from '@/pages/sign/Verify'
|
||||
import Forget from '@/pages/sign/Forget'
|
||||
import SignIn from '@/pages/sign/SignIn'
|
||||
import SignUp from '@/pages/sign_/SignUp'
|
||||
import Verify from '@/pages/sign_/Verify'
|
||||
import Forget from '@/pages/sign_/Forget'
|
||||
import SignIn from '@/pages/sign_/SignIn'
|
||||
|
||||
const Sign: React.FC = () => {
|
||||
const lastPage = useRef('none')
|
||||
@@ -2,7 +2,7 @@ import React from 'react'
|
||||
import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { hasPermission } from '@/util/auth'
|
||||
import { r_sys_settings_base_get, r_sys_settings_base_update } from '@/services/system'
|
||||
import { SettingsCard } from '@/pages/system/settings'
|
||||
import { SettingsCard } from '@/pages/system_/settings_'
|
||||
|
||||
const BaseSettings: React.FC = () => {
|
||||
const [baseForm] = AntdForm.useForm<BaseSettingsParam>()
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
r_sys_settings_mail_send,
|
||||
r_sys_settings_mail_update
|
||||
} from '@/services/system'
|
||||
import { SettingsCard } from '@/pages/system/settings'
|
||||
import { SettingsCard } from '@/pages/system_/settings_'
|
||||
|
||||
const MailSettings: React.FC = () => {
|
||||
const [modal, contextHolder] = AntdModal.useModal()
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
r_sys_settings_sensitive_get,
|
||||
r_sys_settings_sensitive_update
|
||||
} from '@/services/system'
|
||||
import { SettingsCard } from '@/pages/system/settings'
|
||||
import { SettingsCard } from '@/pages/system_/settings_'
|
||||
|
||||
const SensitiveWordSettings: React.FC = () => {
|
||||
const [dataSource, setDataSource] = useState<SensitiveWordVo[]>()
|
||||
@@ -7,9 +7,9 @@ import Card from '@/components/common/Card'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import LoadingMask from '@/components/common/LoadingMask'
|
||||
import Permission from '@/components/common/Permission'
|
||||
import BaseSettings from '@/pages/system/settings/BaseSettings'
|
||||
import MailSettings from '@/pages/system/settings/MailSettings'
|
||||
import SensitiveWordSettings from '@/pages/system/settings/SensitiveWordSettings'
|
||||
import BaseSettings from '@/pages/system_/settings_/BaseSettings'
|
||||
import MailSettings from '@/pages/system_/settings_/MailSettings'
|
||||
import SensitiveWordSettings from '@/pages/system_/settings_/SensitiveWordSettings'
|
||||
|
||||
interface SettingsCardProps extends React.PropsWithChildren {
|
||||
icon: IconComponent
|
||||
@@ -5,8 +5,8 @@ import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { getTimesBetweenTwoTimes } from '@/util/datetime'
|
||||
import { r_sys_statistics_active } from '@/services/system'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import { getTooltipTimeFormatter, lineEChartsBaseOption } from '@/pages/system/statistics/shared'
|
||||
import { CommonCard } from '@/pages/system/statistics'
|
||||
import { getTooltipTimeFormatter, lineEChartsBaseOption } from '@/pages/system_/statistics_/shared'
|
||||
import { CommonCard } from '@/pages/system_/statistics_'
|
||||
|
||||
const ActiveInfo: React.FC = () => {
|
||||
const activeInfoDivRef = useRef<HTMLDivElement>(null)
|
||||
@@ -8,8 +8,8 @@ import {
|
||||
barDefaultSeriesOption,
|
||||
barEChartsBaseOption,
|
||||
EChartsOption
|
||||
} from '@/pages/system/statistics/shared'
|
||||
import { CommonCard } from '@/pages/system/statistics'
|
||||
} from '@/pages/system_/statistics_/shared'
|
||||
import { CommonCard } from '@/pages/system_/statistics_'
|
||||
|
||||
const CPUInfo: React.FC = () => {
|
||||
const keyDivRef = useRef<HTMLDivElement>(null)
|
||||
@@ -2,7 +2,7 @@ import React from 'react'
|
||||
import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { r_sys_statistics_hardware } from '@/services/system'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import { CommonCard } from '@/pages/system/statistics'
|
||||
import { CommonCard } from '@/pages/system_/statistics_'
|
||||
|
||||
const HardwareInfo: React.FC = () => {
|
||||
const [hardwareInfoData, setHardwareInfoData] = useState<HardwareInfoVo>()
|
||||
@@ -5,8 +5,8 @@ import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { getTimesBetweenTwoTimes } from '@/util/datetime'
|
||||
import { r_sys_statistics_online } from '@/services/system'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import { getTooltipTimeFormatter, lineEChartsBaseOption } from '@/pages/system/statistics/shared'
|
||||
import { CommonCard } from '@/pages/system/statistics'
|
||||
import { getTooltipTimeFormatter, lineEChartsBaseOption } from '@/pages/system_/statistics_/shared'
|
||||
import { CommonCard } from '@/pages/system_/statistics_'
|
||||
|
||||
const OnlineInfo: React.FC = () => {
|
||||
const onlineInfoDivRef = useRef<HTMLDivElement>(null)
|
||||
@@ -3,7 +3,7 @@ import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { utcToLocalTime } from '@/util/datetime'
|
||||
import { r_sys_statistics_software } from '@/services/system'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import { CommonCard } from '@/pages/system/statistics'
|
||||
import { CommonCard } from '@/pages/system_/statistics_'
|
||||
|
||||
const SoftwareInfo: React.FC = () => {
|
||||
const [softwareInfoData, setSoftwareInfoData] = useState<SoftwareInfoVo>()
|
||||
@@ -9,8 +9,8 @@ import {
|
||||
barDefaultSeriesOption,
|
||||
barEChartsBaseOption,
|
||||
EChartsOption
|
||||
} from '@/pages/system/statistics/shared'
|
||||
import { CommonCard } from '@/pages/system/statistics'
|
||||
} from '@/pages/system_/statistics_/shared'
|
||||
import { CommonCard } from '@/pages/system_/statistics_'
|
||||
|
||||
const StorageInfo: React.FC = () => {
|
||||
const keyDivRef = useRef<HTMLDivElement>(null)
|
||||
@@ -7,12 +7,12 @@ import FitFullscreen from '@/components/common/FitFullscreen'
|
||||
import HideScrollbar from '@/components/common/HideScrollbar'
|
||||
import LoadingMask from '@/components/common/LoadingMask'
|
||||
import Permission from '@/components/common/Permission'
|
||||
import OnlineInfo from '@/pages/system/statistics/OnlineInfo'
|
||||
import ActiveInfo from '@/pages/system/statistics/ActiveInfo'
|
||||
import SoftwareInfo from '@/pages/system/statistics/SoftwareInfo'
|
||||
import HardwareInfo from '@/pages/system/statistics/HardwareInfo'
|
||||
import CPUInfo from '@/pages/system/statistics/CPUInfo'
|
||||
import StorageInfo from '@/pages/system/statistics/StorageInfo'
|
||||
import OnlineInfo from '@/pages/system_/statistics_/OnlineInfo'
|
||||
import ActiveInfo from '@/pages/system_/statistics_/ActiveInfo'
|
||||
import SoftwareInfo from '@/pages/system_/statistics_/SoftwareInfo'
|
||||
import HardwareInfo from '@/pages/system_/statistics_/HardwareInfo'
|
||||
import CPUInfo from '@/pages/system_/statistics_/CPUInfo'
|
||||
import StorageInfo from '@/pages/system_/statistics_/StorageInfo'
|
||||
|
||||
interface CommonCardProps extends React.PropsWithChildren {
|
||||
icon: IconComponent
|
||||
@@ -5,7 +5,7 @@ import user from '@/router/user'
|
||||
import tools from '@/router/tools'
|
||||
import { getAuthRoute, mapJsonToRoute, setTitle } from '@/util/route'
|
||||
|
||||
const lazySignPage = React.lazy(() => import('@/pages/sign'))
|
||||
const lazySignPage = React.lazy(() => import('src/pages/sign_'))
|
||||
|
||||
const root: RouteJsonObject[] = [
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ const system: RouteJsonObject[] = [
|
||||
path: '',
|
||||
absolutePath: '/system',
|
||||
id: 'system',
|
||||
component: React.lazy(() => import('@/pages/system')),
|
||||
component: React.lazy(() => import('src/pages/system_')),
|
||||
name: '系统管理',
|
||||
icon: React.lazy(() => import('~icons/oxygen/setting.jsx')),
|
||||
menu: true
|
||||
@@ -15,7 +15,7 @@ const system: RouteJsonObject[] = [
|
||||
path: 'statistics',
|
||||
absolutePath: '/system/statistics',
|
||||
id: 'system-statistics',
|
||||
component: React.lazy(() => import('@/pages/system/statistics')),
|
||||
component: React.lazy(() => import('@/pages/system_/statistics_')),
|
||||
name: '系统概况',
|
||||
icon: React.lazy(() => import('~icons/oxygen/chart.jsx')),
|
||||
menu: true,
|
||||
@@ -25,7 +25,7 @@ const system: RouteJsonObject[] = [
|
||||
path: 'settings',
|
||||
absolutePath: '/system/settings',
|
||||
id: 'system-settings',
|
||||
component: React.lazy(() => import('@/pages/system/settings')),
|
||||
component: React.lazy(() => import('@/pages/system_/settings_')),
|
||||
name: '系统设置',
|
||||
icon: React.lazy(() => import('~icons/oxygen/option.jsx')),
|
||||
menu: true,
|
||||
@@ -35,7 +35,7 @@ const system: RouteJsonObject[] = [
|
||||
path: 'user',
|
||||
absolutePath: '/system/user',
|
||||
id: 'system-user',
|
||||
component: React.lazy(() => import('@/pages/system/User')),
|
||||
component: React.lazy(() => import('@/pages/system_/User')),
|
||||
name: '用户管理',
|
||||
icon: React.lazy(() => import('~icons/oxygen/user.jsx')),
|
||||
menu: true,
|
||||
@@ -45,7 +45,7 @@ const system: RouteJsonObject[] = [
|
||||
path: 'role',
|
||||
absolutePath: '/system/role',
|
||||
id: 'system-role',
|
||||
component: React.lazy(() => import('@/pages/system/Role')),
|
||||
component: React.lazy(() => import('@/pages/system_/Role')),
|
||||
name: '角色管理',
|
||||
icon: React.lazy(() => import('~icons/oxygen/role.jsx')),
|
||||
menu: true,
|
||||
@@ -55,7 +55,7 @@ const system: RouteJsonObject[] = [
|
||||
path: 'group',
|
||||
absolutePath: '/system/group',
|
||||
id: 'system-group',
|
||||
component: React.lazy(() => import('@/pages/system/Group')),
|
||||
component: React.lazy(() => import('@/pages/system_/Group')),
|
||||
name: '群组管理',
|
||||
icon: React.lazy(() => import('~icons/oxygen/group.jsx')),
|
||||
menu: true,
|
||||
@@ -65,7 +65,7 @@ const system: RouteJsonObject[] = [
|
||||
path: 'log',
|
||||
absolutePath: '/system/log',
|
||||
id: 'system-log',
|
||||
component: React.lazy(() => import('@/pages/system/Log')),
|
||||
component: React.lazy(() => import('@/pages/system_/Log')),
|
||||
name: '系统日志',
|
||||
icon: React.lazy(() => import('~icons/oxygen/log.jsx')),
|
||||
menu: true,
|
||||
|
||||
@@ -5,7 +5,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: '',
|
||||
absolutePath: '/',
|
||||
id: 'tools',
|
||||
component: React.lazy(() => import('@/pages/tools')),
|
||||
component: React.lazy(() => import('src/pages/tools_')),
|
||||
name: '主页',
|
||||
icon: React.lazy(() => import('~icons/oxygen/home.jsx')),
|
||||
menu: true,
|
||||
@@ -15,7 +15,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'all',
|
||||
absolutePath: '/all',
|
||||
id: 'tools-all',
|
||||
component: React.lazy(() => import('@/pages/tools')),
|
||||
component: React.lazy(() => import('src/pages/tools_')),
|
||||
name: '全部工具',
|
||||
titlePostfix: ' - 全部工具',
|
||||
icon: React.lazy(() => import('~icons/oxygen/tool.jsx')),
|
||||
@@ -26,7 +26,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation',
|
||||
absolutePath: '/translation',
|
||||
id: 'tools-translation',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -55,7 +55,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation-',
|
||||
absolutePath: '/translation-',
|
||||
id: 'tools-translation-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -83,7 +83,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--',
|
||||
absolutePath: '/translation--',
|
||||
id: 'tools-translation--',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -93,7 +93,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--1',
|
||||
absolutePath: '/translation--1',
|
||||
id: 'tools-translation--1',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--1',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -103,7 +103,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--2',
|
||||
absolutePath: '/translation--2',
|
||||
id: 'tools-translation--2',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--2',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -113,7 +113,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--3',
|
||||
absolutePath: '/translation--3',
|
||||
id: 'tools-translation--3',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--3',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -123,7 +123,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--4',
|
||||
absolutePath: '/translation--4',
|
||||
id: 'tools-translation--4',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--4',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -133,7 +133,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--5',
|
||||
absolutePath: '/translation--5',
|
||||
id: 'tools-translation--5',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--5',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -143,7 +143,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--6',
|
||||
absolutePath: '/translation--6',
|
||||
id: 'tools-translation--6',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--6',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -153,7 +153,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--7',
|
||||
absolutePath: '/translation--7',
|
||||
id: 'tools-translation--7',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--7',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -163,7 +163,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--8',
|
||||
absolutePath: '/translation--8',
|
||||
id: 'tools-translation--8',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--8',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -173,7 +173,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--9',
|
||||
absolutePath: '/translation--9',
|
||||
id: 'tools-translation--9',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--9',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -183,7 +183,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--10',
|
||||
absolutePath: '/translation--10',
|
||||
id: 'tools-translation--10',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--10',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -193,7 +193,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--1-',
|
||||
absolutePath: '/translation--1-',
|
||||
id: 'tools-translation--1-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--1-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -203,7 +203,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--2-',
|
||||
absolutePath: '/translation--2-',
|
||||
id: 'tools-translation--2-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--2-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -213,7 +213,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--3-',
|
||||
absolutePath: '/translation--3-',
|
||||
id: 'tools-translation--3-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--3-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -223,7 +223,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--4-',
|
||||
absolutePath: '/translation--4-',
|
||||
id: 'tools-translation--4-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--4-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -233,7 +233,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--5-',
|
||||
absolutePath: '/translation--5-',
|
||||
id: 'tools-translation--5-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--5-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -243,7 +243,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--6-',
|
||||
absolutePath: '/translation--6-',
|
||||
id: 'tools-translation--6-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--6-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -253,7 +253,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--7-',
|
||||
absolutePath: '/translation--7-',
|
||||
id: 'tools-translation--7-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--7-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -263,7 +263,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--8-',
|
||||
absolutePath: '/translation--8-',
|
||||
id: 'tools-translation--8-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--8-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -273,7 +273,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--9-',
|
||||
absolutePath: '/translation--9-',
|
||||
id: 'tools-translation--9-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--9-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
@@ -283,7 +283,7 @@ export const tools: RouteJsonObject[] = [
|
||||
path: 'translation--10-',
|
||||
absolutePath: '/translation--10-',
|
||||
id: 'tools-translation--10-',
|
||||
component: React.lazy(() => import('@/pages/tools/Translation')),
|
||||
component: React.lazy(() => import('@/pages/tools_/Translation')),
|
||||
name: '翻译--10-',
|
||||
icon: React.lazy(() => import('~icons/oxygen/jenkins.jsx')),
|
||||
menu: true,
|
||||
|
||||
@@ -5,7 +5,7 @@ const user: RouteJsonObject[] = [
|
||||
path: '',
|
||||
absolutePath: '/user',
|
||||
id: 'user',
|
||||
component: React.lazy(() => import('@/pages/user')),
|
||||
component: React.lazy(() => import('src/pages/user_')),
|
||||
name: '个人档案',
|
||||
icon: React.lazy(() => import('~icons/oxygen/user.jsx')),
|
||||
menu: true
|
||||
|
||||
Reference in New Issue
Block a user