소스 검색

feat: 路由

ZhaoJun 1 년 전
부모
커밋
1f78dbd926
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  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: '',