From 36af2c3515b5c061ac7d97e0c000cd4255e10450 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期日, 31 三月 2024 23:35:47 +0800
Subject: [PATCH] 动态路由

---
 Source/ProjectWeb/src/router/page/index.js |   39 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/Source/ProjectWeb/src/router/page/index.js b/Source/ProjectWeb/src/router/page/index.js
index 1136402..d4946ac 100644
--- a/Source/ProjectWeb/src/router/page/index.js
+++ b/Source/ProjectWeb/src/router/page/index.js
@@ -32,7 +32,6 @@
       isTab: false,
       isAuth: false
     }
-
   },
   {
     path: '/403',
@@ -77,5 +76,41 @@
   {
     path: '*',
     redirect: '/404'
-  }
+  },
+  // {
+  //   path: '/UIContentViewer',
+  //   name: 'UI涓婁笅鏂�',
+  //   component: Layout,
+  //   children: [
+  //     {
+  //       path: '',
+  //       component: () => import("@/views/base/UIContentViewer"),
+  //       props: true
+  //     }
+  //   ]
+  // },
+  {
+    path: '/dynamic-form',
+    name: '鍔ㄦ�佽〃鏍奸〉闈�',
+    component: Layout,
+    children: [
+      {
+        path: '', // 绌鸿矾寰勮〃绀鸿闂� '/dynamic-form' 鏃跺姞杞� Layout 缁勪欢
+        component: () => import('@/components/dynamic-components/dynamic-form'),
+        props: true
+      }
+    ]
+  },
+  {
+    path: '/referIndex',
+    name: '鍔ㄦ�佽〃鏍奸〉闈�',
+    component: Layout,
+    children: [
+      {
+        path: '', // 绌鸿矾寰勮〃绀鸿闂� '/dynamic-form' 鏃跺姞杞� Layout 缁勪欢
+        component: () => import('@/views/test/referDemo/index'),
+        props: true
+      }
+    ]
+  },
 ]

--
Gitblit v1.9.3