From 842712a3c827a286044bf300fffa34e34db4cea7 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期二, 19 九月 2023 21:32:14 +0800
Subject: [PATCH] 新增首页修改信息页面

---
 ruoyi-ui/src/router/index.js |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index d438fa9..2006cca 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -1,7 +1,6 @@
 import Vue from 'vue'
 import Router from 'vue-router'
-import Index from '@/views/index'; // 棣栭〉缁勪欢
-import OtherPage from '@/views/shouye/shouye'; // 瑕佽烦杞殑椤甸潰缁勪欢
+import Shouye from '@/views/shouye/shouye.vue';
 
 Vue.use(Router)
 
@@ -96,7 +95,26 @@
       }
     ]
   },
-
+  // {
+  //   path: '',
+  //   component: Layout,
+  //   hidden: true,
+  //   redirect: 'noredirect',
+  //   children: [
+  //     {
+  //       path: 'shouye',
+  //       component: () => import('@/views/shouye/shouye'),
+  //       name: 'shouye',
+  //       meta: { title: '閫氱煡璇︽儏' }
+  //     }
+  //   ]
+  // },
+  // {
+  //   path: '/views/shouye/shouye',
+  //   component: Layout,
+  //   hidden: true,
+  //   redirect: 'noredirect',
+  // }
 ]
 
 // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
@@ -117,14 +135,14 @@
   },
   //棣栭〉閫氱煡璇︽儏
   {
-    path:'/dashboard',
+    path:'/views/shouye',
     component:Layout,
     hidden: true,
     permissions: ['familymodel:property:info'],
 
     children: [
       {
-        path: 'shouye/:id(\\d+)',
+        path: '',
         component: () => import('@/views/shouye/shouye'),
         name: 'shouye',
         meta: { title: '閫氱煡璇︽儏' }

--
Gitblit v1.9.1