refactor: 重构项目结构并优化代码
- 删除无用的文件和错误日志 - 创建统一的 imports 模块集中管理依赖 - 重构组件使用新的 imports 方式 - 修复文档路径大小写问题 - 优化类型定义和接口导出 - 更新依赖版本 - 改进错误处理和API配置 - 统一组件导出方式
This commit is contained in:
@@ -9,605 +9,299 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
|
||||
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
component: '@/pages/Auth/LoginPage',
|
||||
exact: true,
|
||||
},
|
||||
{
|
||||
path: '/home',
|
||||
component: '@/pages/Homepage',
|
||||
layout: false,
|
||||
exact: true,
|
||||
},
|
||||
{
|
||||
path: '/pricing',
|
||||
component: '@/pages/Pricing',
|
||||
layout: false,
|
||||
},
|
||||
{
|
||||
path: '/case-study',
|
||||
component: '@/pages/CaseStudy',
|
||||
layout: false,
|
||||
},
|
||||
{
|
||||
path: '/case-study/:id',
|
||||
component: '@/pages/CaseStudy',
|
||||
layout: false,
|
||||
},
|
||||
{
|
||||
path: '/auth',
|
||||
layout: false,
|
||||
routes: [
|
||||
{
|
||||
path: 'login',
|
||||
component: '@/pages/Auth/LoginPage',
|
||||
},
|
||||
{
|
||||
path: 'register',
|
||||
component: '@/pages/Auth/RegisterPage',
|
||||
},
|
||||
{
|
||||
path: 'reset-password',
|
||||
component: '@/pages/Auth/ResetPasswordPage',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/operation-agent',
|
||||
component: '@/pages/OperationAgent',
|
||||
layout: '@/layouts/index',
|
||||
},
|
||||
{
|
||||
path: '/operation-agent-enhanced',
|
||||
component: '@/pages/OperationAgentEnhanced',
|
||||
layout: '@/layouts/index',
|
||||
path: '/test-route',
|
||||
component: '@/pages/TestRoute',
|
||||
},
|
||||
{
|
||||
path: '/dashboard',
|
||||
layout: '@/layouts/index',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
path: '/dashboard',
|
||||
component: '@/pages/DashboardPage',
|
||||
},
|
||||
{
|
||||
path: 'overview',
|
||||
component: '@/pages/DashboardPage',
|
||||
path: '/dashboard/ai-action-task-manager',
|
||||
component: '@/pages/AIActionTaskManager',
|
||||
},
|
||||
{
|
||||
path: 'operation-agent',
|
||||
component: '@/pages/OperationAgent',
|
||||
path: '/dashboard/ai-suggestion',
|
||||
component: '@/pages/AISuggestionPage',
|
||||
},
|
||||
{
|
||||
path: 'auto-pilot',
|
||||
component: '@/pages/AutoPilot',
|
||||
path: '/dashboard/human-approval',
|
||||
component: '@/pages/HumanApprovalPage',
|
||||
},
|
||||
{
|
||||
path: 'task-center',
|
||||
component: '@/pages/TaskCenter',
|
||||
path: '/dashboard/client-management',
|
||||
component: '@/pages/ClientManagement',
|
||||
},
|
||||
{
|
||||
path: 'ai-decision-log',
|
||||
component: '@/pages/AIDecisionLog',
|
||||
path: '/dashboard/execution-results',
|
||||
component: '@/pages/ExecutionResults',
|
||||
},
|
||||
{
|
||||
path: 'strategy-marketplace',
|
||||
component: '@/pages/StrategyMarketplace',
|
||||
path: '/dashboard/ai-decision-log',
|
||||
component: '@/pages/AIDecisionLog/index',
|
||||
},
|
||||
{
|
||||
path: 'leaderboard',
|
||||
component: '@/pages/Leaderboard',
|
||||
path: '/dashboard/strategy-marketplace',
|
||||
component: '@/pages/StrategyMarketplace/index',
|
||||
},
|
||||
{
|
||||
path: 'product',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Product/ProductList',
|
||||
},
|
||||
{
|
||||
path: 'list',
|
||||
component: '@/pages/Product/ProductList',
|
||||
},
|
||||
{
|
||||
path: 'detail/:id?',
|
||||
component: '@/pages/Product/ProductDetail',
|
||||
},
|
||||
{
|
||||
path: 'publish',
|
||||
component: '@/pages/Product/ProductPublishForm',
|
||||
},
|
||||
{
|
||||
path: 'cross-platform',
|
||||
component: '@/pages/Product/CrossPlatformManage',
|
||||
},
|
||||
{
|
||||
path: 'material',
|
||||
component: '@/pages/Product/MaterialUpload',
|
||||
},
|
||||
{
|
||||
path: 'ai-pricing',
|
||||
component: '@/pages/Product/AIPricing',
|
||||
},
|
||||
{
|
||||
path: 'profit-monitor',
|
||||
component: '@/pages/Product/ProfitMonitor',
|
||||
},
|
||||
{
|
||||
path: 'roi-analysis',
|
||||
component: '@/pages/Product/ROIAnalysis',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/auto-product-selection',
|
||||
component: '@/pages/AutoProductSelection/index',
|
||||
},
|
||||
{
|
||||
path: 'orders',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Orders/OrderList',
|
||||
},
|
||||
{
|
||||
path: 'list',
|
||||
component: '@/pages/Orders/OrderList',
|
||||
},
|
||||
{
|
||||
path: 'detail/:id',
|
||||
component: '@/pages/Orders/OrderDetail',
|
||||
},
|
||||
{
|
||||
path: 'exception',
|
||||
component: '@/pages/Orders/ExceptionOrder',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/auto-execution',
|
||||
component: '@/pages/AutoExecution/index',
|
||||
},
|
||||
{
|
||||
path: 'inventory',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Product/index',
|
||||
},
|
||||
{
|
||||
path: 'forecast',
|
||||
component: '@/pages/Inventory/InventoryForecast',
|
||||
},
|
||||
{
|
||||
path: 'warehouses',
|
||||
component: '@/pages/Inventory/Warehouses',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/operation-agent',
|
||||
component: '@/pages/OperationAgentEnhanced',
|
||||
},
|
||||
{
|
||||
path: 'logistics',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Logistics/index',
|
||||
},
|
||||
{
|
||||
path: 'track',
|
||||
component: '@/pages/Logistics/LogisticsTrack',
|
||||
},
|
||||
{
|
||||
path: 'select',
|
||||
component: '@/pages/Logistics/LogisticsSelect',
|
||||
},
|
||||
{
|
||||
path: 'freight-calc',
|
||||
component: '@/pages/Logistics/FreightCalc',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/operation-agent-enhanced',
|
||||
component: '@/pages/OperationAgentEnhanced',
|
||||
},
|
||||
{
|
||||
path: 'after-sales',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/AfterSales/index',
|
||||
},
|
||||
{
|
||||
path: 'refund',
|
||||
component: '@/pages/AfterSales/RefundProcess',
|
||||
},
|
||||
{
|
||||
path: 'return-apply',
|
||||
component: '@/pages/AfterSales/ReturnApply',
|
||||
},
|
||||
{
|
||||
path: 'customer-service',
|
||||
component: '@/pages/AfterSales/CustomerService',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/auto-pilot',
|
||||
component: '@/pages/AutoPilot/index',
|
||||
},
|
||||
{
|
||||
path: 'finance',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Finance/index',
|
||||
},
|
||||
{
|
||||
path: 'transactions',
|
||||
component: '@/pages/Finance/Transactions',
|
||||
},
|
||||
{
|
||||
path: 'reconciliation',
|
||||
component: '@/pages/Finance/Reconciliation',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/task-center',
|
||||
component: '@/pages/TaskCenter/index',
|
||||
},
|
||||
{
|
||||
path: 'marketing',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Marketing/index',
|
||||
},
|
||||
{
|
||||
path: 'ads',
|
||||
component: '@/pages/Marketing/Ads',
|
||||
},
|
||||
{
|
||||
path: 'competitors',
|
||||
component: '@/pages/Marketing/Competitors',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/product',
|
||||
component: '@/pages/Product/index',
|
||||
},
|
||||
{
|
||||
path: 'ad',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Ad/index',
|
||||
},
|
||||
{
|
||||
path: 'delivery',
|
||||
component: '@/pages/Ad/AdDelivery',
|
||||
},
|
||||
{
|
||||
path: 'plan',
|
||||
component: '@/pages/Ad/AdPlanPage',
|
||||
},
|
||||
{
|
||||
path: 'roi',
|
||||
component: '@/pages/Ad/ROIAnalysis',
|
||||
},
|
||||
{
|
||||
path: 'auto-adjustment',
|
||||
component: '@/pages/Ad/AutoAdjustment',
|
||||
},
|
||||
{
|
||||
path: 'ai-optimization',
|
||||
component: '@/pages/Ad/AIOptimization',
|
||||
},
|
||||
{
|
||||
path: 'performance',
|
||||
component: '@/pages/Ad/Performance',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/product/publish',
|
||||
component: '@/pages/Product/ProductPublishForm',
|
||||
},
|
||||
{
|
||||
path: 'analytics',
|
||||
component: '@/pages/Analytics',
|
||||
path: '/dashboard/product/ai-pricing',
|
||||
component: '@/pages/Product/AIPricing/index',
|
||||
},
|
||||
{
|
||||
path: 'reports',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Reports/index',
|
||||
},
|
||||
{
|
||||
path: 'performance',
|
||||
component: '@/pages/Reports/PerformanceReport',
|
||||
},
|
||||
{
|
||||
path: 'profit',
|
||||
component: '@/pages/Reports/ProfitReport',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/product/profit-monitor',
|
||||
component: '@/pages/Product/ProfitMonitor/index',
|
||||
},
|
||||
{
|
||||
path: 'multi-shop-report',
|
||||
component: '@/pages/MultiShopReport',
|
||||
path: '/dashboard/inventory',
|
||||
component: '@/pages/Inventory/index',
|
||||
},
|
||||
{
|
||||
path: 'order-multi-shop',
|
||||
component: '@/pages/OrderMultiShopList',
|
||||
path: '/dashboard/inventory/warehouses',
|
||||
component: '@/pages/Inventory/Warehouses',
|
||||
},
|
||||
{
|
||||
path: 'suppliers',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Suppliers/index',
|
||||
},
|
||||
{
|
||||
path: 'detail/:id?',
|
||||
component: '@/pages/Suppliers/SupplierDetail',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/orders',
|
||||
component: '@/pages/Orders/index',
|
||||
},
|
||||
{
|
||||
path: 'b2b',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/B2B/index',
|
||||
},
|
||||
{
|
||||
path: 'batch-order',
|
||||
component: '@/pages/B2B/BatchOrder',
|
||||
},
|
||||
{
|
||||
path: 'contract',
|
||||
component: '@/pages/B2B/ContractManage',
|
||||
},
|
||||
{
|
||||
path: 'quote',
|
||||
component: '@/pages/B2B/EnterpriseQuote',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/orders/exception',
|
||||
component: '@/pages/Orders/ExceptionOrder',
|
||||
},
|
||||
{
|
||||
path: 'b2b-trade',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/B2BTrade/index',
|
||||
},
|
||||
{
|
||||
path: 'batch-order',
|
||||
component: '@/pages/B2BTrade/BatchOrder',
|
||||
},
|
||||
{
|
||||
path: 'contract',
|
||||
component: '@/pages/B2BTrade/ContractManage',
|
||||
},
|
||||
{
|
||||
path: 'quote',
|
||||
component: '@/pages/B2BTrade/EnterpriseQuote',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/after-sales',
|
||||
component: '@/pages/AfterSales/index',
|
||||
},
|
||||
{
|
||||
path: 'merchant',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Merchant/index',
|
||||
},
|
||||
{
|
||||
path: 'manage',
|
||||
component: '@/pages/Merchant/MerchantManage',
|
||||
},
|
||||
{
|
||||
path: 'orders',
|
||||
component: '@/pages/Merchant/MerchantOrderManage',
|
||||
},
|
||||
{
|
||||
path: 'shops',
|
||||
component: '@/pages/Merchant/MerchantShopManage',
|
||||
},
|
||||
{
|
||||
path: 'settlement',
|
||||
component: '@/pages/Merchant/MerchantSettlementManage',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/after-sales/refund',
|
||||
component: '@/pages/AfterSales/RefundProcess',
|
||||
},
|
||||
{
|
||||
path: 'independent-site',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/IndependentSite/IndependentSiteList',
|
||||
},
|
||||
{
|
||||
path: 'list',
|
||||
component: '@/pages/IndependentSite/IndependentSiteList',
|
||||
},
|
||||
{
|
||||
path: 'create',
|
||||
component: '@/pages/IndependentSite/IndependentSiteCreate',
|
||||
},
|
||||
{
|
||||
path: 'builder',
|
||||
component: '@/pages/IndependentSite/SiteBuilder',
|
||||
},
|
||||
{
|
||||
path: 'templates',
|
||||
component: '@/pages/IndependentSite/SiteTemplates',
|
||||
},
|
||||
{
|
||||
path: 'domains',
|
||||
component: '@/pages/IndependentSite/DomainManagement',
|
||||
},
|
||||
{
|
||||
path: 'config/:id?',
|
||||
component: '@/pages/IndependentSite/IndependentSiteConfig',
|
||||
},
|
||||
{
|
||||
path: 'products/:id',
|
||||
component: '@/pages/IndependentSite/IndependentSiteProduct',
|
||||
},
|
||||
{
|
||||
path: 'orders/:id',
|
||||
component: '@/pages/IndependentSite/IndependentSiteOrder',
|
||||
},
|
||||
{
|
||||
path: 'analytics/:id',
|
||||
component: '@/pages/IndependentSite/IndependentSiteAnalytics',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/logistics',
|
||||
component: '@/pages/Logistics/index',
|
||||
},
|
||||
{
|
||||
path: 'compliance',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Compliance/index',
|
||||
},
|
||||
{
|
||||
path: 'certificates',
|
||||
component: '@/pages/Compliance/CertificateManage',
|
||||
},
|
||||
{
|
||||
path: 'check',
|
||||
component: '@/pages/Compliance/ComplianceCheck',
|
||||
},
|
||||
{
|
||||
path: 'expiry-reminder',
|
||||
component: '@/pages/Compliance/CertificateExpiryReminder',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/logistics/freight-calc',
|
||||
component: '@/pages/Logistics/FreightCalc',
|
||||
},
|
||||
{
|
||||
path: 'blacklist',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Blacklist/index',
|
||||
},
|
||||
{
|
||||
path: 'manage',
|
||||
component: '@/pages/Blacklist/BlacklistManage',
|
||||
},
|
||||
{
|
||||
path: 'risk-monitor',
|
||||
component: '@/pages/Blacklist/RiskMonitor',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/finance',
|
||||
component: '@/pages/Finance/index',
|
||||
},
|
||||
{
|
||||
path: 'return',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Return/index',
|
||||
},
|
||||
{
|
||||
path: 'monitor',
|
||||
component: '@/pages/Return/ReturnMonitor',
|
||||
},
|
||||
{
|
||||
path: 'sku',
|
||||
component: '@/pages/Return/SKUManage',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/finance/transactions',
|
||||
component: '@/pages/Finance/Transactions',
|
||||
},
|
||||
{
|
||||
path: 'user-asset',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/UserAsset/UserAssets',
|
||||
},
|
||||
{
|
||||
path: 'member-level',
|
||||
component: '@/pages/UserAsset/MemberLevel',
|
||||
},
|
||||
{
|
||||
path: 'points',
|
||||
component: '@/pages/UserAsset/PointsManage',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/finance/reconciliation',
|
||||
component: '@/pages/Finance/Reconciliation',
|
||||
},
|
||||
{
|
||||
path: 'ab-test',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/ABTest/ABTestConfig',
|
||||
},
|
||||
{
|
||||
path: 'config',
|
||||
component: '@/pages/ABTest/ABTestConfig',
|
||||
},
|
||||
{
|
||||
path: 'results',
|
||||
component: '@/pages/ABTest/ABTestResults',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/user-asset',
|
||||
component: '@/pages/UserAsset/UserAssets',
|
||||
},
|
||||
{
|
||||
path: 'dynamic-pricing',
|
||||
component: '@/pages/DynamicPricing',
|
||||
path: '/dashboard/ad',
|
||||
component: '@/pages/Ad/index',
|
||||
},
|
||||
{
|
||||
path: 'arbitrage-monitor',
|
||||
component: '@/pages/ArbitrageMonitor',
|
||||
path: '/dashboard/marketing/competitors',
|
||||
component: '@/pages/Marketing/Competitors',
|
||||
},
|
||||
{
|
||||
path: 'auto-product-selection',
|
||||
component: '@/pages/AutoProductSelection',
|
||||
path: '/dashboard/dynamic-pricing',
|
||||
component: '@/pages/DynamicPricing/index',
|
||||
},
|
||||
{
|
||||
path: 'auto-execution',
|
||||
component: '@/pages/AutoExecution',
|
||||
path: '/dashboard/ab-test',
|
||||
component: '@/pages/ABTest/ABTestConfig',
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
routes: [
|
||||
{
|
||||
path: '',
|
||||
component: '@/pages/Settings/index',
|
||||
},
|
||||
{
|
||||
path: 'profile',
|
||||
component: '@/pages/Settings/ProfileSettings',
|
||||
},
|
||||
{
|
||||
path: 'system',
|
||||
component: '@/pages/Settings/SystemSettings',
|
||||
},
|
||||
{
|
||||
path: 'tenant',
|
||||
component: '@/pages/Settings/TenantSettings',
|
||||
},
|
||||
{
|
||||
path: 'users',
|
||||
component: '@/pages/Settings/UserManagement',
|
||||
},
|
||||
{
|
||||
path: 'platform-account',
|
||||
component: '@/pages/Settings/PlatformAccountConfig',
|
||||
},
|
||||
{
|
||||
path: 'platform-auth',
|
||||
component: '@/pages/Settings/PlatformAuth',
|
||||
},
|
||||
{
|
||||
path: 'exchange-rate',
|
||||
component: '@/pages/Settings/ExchangeRateConfig',
|
||||
},
|
||||
{
|
||||
path: 'cost-template',
|
||||
component: '@/pages/Settings/CostTemplateConfig',
|
||||
},
|
||||
{
|
||||
path: 'win-node',
|
||||
component: '@/pages/Settings/WinNodeConfig',
|
||||
},
|
||||
{
|
||||
path: 'subscription',
|
||||
component: '@/pages/Settings/SubscriptionManage',
|
||||
},
|
||||
{
|
||||
path: 'service-manager',
|
||||
component: '@/pages/Settings/ServiceManager',
|
||||
},
|
||||
],
|
||||
path: '/dashboard/analytics',
|
||||
component: '@/pages/Analytics/index',
|
||||
},
|
||||
{
|
||||
path: 'role',
|
||||
component: '@/pages/Role',
|
||||
path: '/dashboard/reports',
|
||||
component: '@/pages/Reports/index',
|
||||
},
|
||||
{
|
||||
path: 'user',
|
||||
component: '@/pages/User',
|
||||
path: '/dashboard/multi-shop-report',
|
||||
component: '@/pages/MultiShopReport/index',
|
||||
},
|
||||
{
|
||||
path: 'system',
|
||||
component: '@/pages/System',
|
||||
path: '/dashboard/leaderboard',
|
||||
component: '@/pages/Leaderboard/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/merchant',
|
||||
component: '@/pages/Merchant/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/b2b',
|
||||
component: '@/pages/B2B/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/b2b/batch-order',
|
||||
component: '@/pages/B2B/BatchOrder',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/b2b/enterprise-quote',
|
||||
component: '@/pages/B2B/EnterpriseQuote',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/b2b/contract-manage',
|
||||
component: '@/pages/B2B/ContractManage',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/procurement',
|
||||
component: '@/pages/Procurement/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/suppliers',
|
||||
component: '@/pages/Suppliers/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/warehouse',
|
||||
component: '@/pages/Warehouse/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site',
|
||||
component: '@/pages/IndependentSite/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site/create',
|
||||
component: '@/pages/IndependentSite/IndependentSiteCreate',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site/templates',
|
||||
component: '@/pages/IndependentSite/SiteTemplates',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site/analytics',
|
||||
component: '@/pages/IndependentSite/IndependentSiteAnalytics',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site/orders',
|
||||
component: '@/pages/IndependentSite/IndependentSiteOrder',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site/products',
|
||||
component: '@/pages/IndependentSite/IndependentSiteProduct',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/independent-site/domains',
|
||||
component: '@/pages/IndependentSite/DomainManagement',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/blacklist',
|
||||
component: '@/pages/Blacklist/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/compliance',
|
||||
component: '@/pages/Compliance/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/audit',
|
||||
component: '@/pages/Audit/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/operation-logs',
|
||||
component: '@/pages/OperationLogs/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/governance',
|
||||
component: '@/pages/Governance/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/sovereignty',
|
||||
component: '@/pages/Sovereignty/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/compliance/certificates',
|
||||
component: '@/pages/Compliance/CertificateManage',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/settings',
|
||||
component: '@/pages/Settings/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/settings/platform-auth',
|
||||
component: '@/pages/Settings/PlatformAuth',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/settings/service-manager',
|
||||
component: '@/pages/Settings/ServiceManager',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/user',
|
||||
component: '@/pages/User/index',
|
||||
},
|
||||
{
|
||||
path: '/dashboard/role',
|
||||
component: '@/pages/Role/index',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/auth/login',
|
||||
component: '@/pages/Auth/LoginPage',
|
||||
},
|
||||
{
|
||||
path: '/auth/register',
|
||||
component: '@/pages/Auth/RegisterPage',
|
||||
},
|
||||
{
|
||||
path: '/auth/reset-password',
|
||||
component: '@/pages/Auth/ResetPasswordPage',
|
||||
},
|
||||
],
|
||||
fastRefresh: true,
|
||||
esbuildMinifyIIFE: true,
|
||||
|
||||
Reference in New Issue
Block a user