From b365a0879edc787655b908b0dbb65b5e966bb23b Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期二, 07 五月 2024 09:03:08 +0800
Subject: [PATCH] 公共yml文件 ip  改回10.153.19.150

---
 UI-Project/src/router/index.js |   46 +++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 39 insertions(+), 7 deletions(-)

diff --git a/UI-Project/src/router/index.js b/UI-Project/src/router/index.js
index 2ecd57e..ceeccbb 100644
--- a/UI-Project/src/router/index.js
+++ b/UI-Project/src/router/index.js
@@ -1,8 +1,11 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
+import {createRouter, createWebHashHistory} from 'vue-router'
+
+import User from '../views/sys/User.vue'
+import Role from '../views/sys/Role.vue'
+import Menu from '../views/sys/Menu.vue'
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(),
   routes: [
     {
       path: '/',
@@ -95,9 +98,14 @@
     component: () => import('../views/Caching/caching.vue'),
     children:[
       {
-        path: '/Caching/caching',
-        name: 'caching',
-        component: () => import('../views/Caching/caching.vue')
+        path: '/Caching/cachingbefore',
+        name: 'cachingbefore',
+        component: () => import('../views/Caching/cachingbefore.vue')
+      },
+      {
+        path: '/Caching/cachingun',
+        name: 'cachingun',
+        component: () => import('../views/Caching/cachingun.vue')
       },
     ]
   },
@@ -196,10 +204,34 @@
               component: () => import('../views/Visualization/screenthree.vue')
             }
           ]
+         },
+
+        /*----------- 绠$悊绯荤粺 ----------------*/
+        {
+          path: 'sys',
+          name: 'screen',
+          component: () => import('../views/Visualization/screen.vue'),
+          children: [
+            {
+              path: '/sys/users',
+              name: 'SysUser',
+              component: User
+            },
+            {
+              path: '/sys/roles',
+              name: 'SysRole',
+              component: Role
+            },
+            {
+              path: '/sys/menus',
+              name: 'SysMenu',
+              component: Menu
+            },
+          ]
         },
         {
           path: '',
-          redirect:'/Slicecage/slicecage'
+          redirect: '/Slicecage/slicecage'
         }
       ]
     },

--
Gitblit v1.8.0