Browse Source

feat: 路由

ZhaoJun 1 year ago
parent
commit
1f78dbd926
1 changed files with 8 additions and 2 deletions
  1. 8 2
      .umirc.ts

+ 8 - 2
.umirc.ts

@@ -28,8 +28,8 @@ export default defineConfig({
   proxy: {
     '/api': {
       // target: 'http://47.96.12.136:8888/',
-      // target: 'http://47.96.12.136:8788/',
-      target: 'http://120.55.44.4:8900/',
+      target: 'http://47.96.12.136:8788/',
+      // target: 'http://120.55.44.4:8900/',
       //target: 'https://metawant.greentech.com.cn/',
       changeOrigin: true,
     },
@@ -250,6 +250,12 @@ export default defineConfig({
       path: '/smart-ops/chart-page/:projectId',
       component: './SmartOps/ChartPage',
     },
+    // 预测分析图表页面
+    {
+      name: '',
+      path: '/smart-ops/prediction/:projectId',
+      component: './SmartOps/predictionAnalysis/PredictionDetail',
+    },
     // 系统工作日报
     {
       name: '',