From 95f95f2417428ea7a2191690e39d7675963f5289 Mon Sep 17 00:00:00 2001 From: cc Date: Wed, 23 Oct 2024 00:05:24 +0000 Subject: [PATCH] cc --- src/components/Sidebar.vue | 14 +++++++------- src/router/index.js | 10 +++++----- src/views/Rules.vue | 6 +++++- vite.config.js | 3 ++- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index c131523..9e66dfa 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -63,13 +63,13 @@ export default { iconName: 'Management', children: [], }, - // { - // id: 2, - // name: "规则引擎", - // index: "/rules", - // iconName: 'Management', - // children: [], - // }, + { + id: 2, + name: "规则引擎", + index: "/rules", + iconName: 'Management', + children: [], + }, // { // id: 4, // name: "透传管理", diff --git a/src/router/index.js b/src/router/index.js index b383398..78a93f6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -47,11 +47,11 @@ const router = createRouter({ // name: 'transparent', // component: () => import('../views/Transparent.vue') // }, - // { - // path: '/rules', - // name: 'rules', - // component: () => import('../views/Rules.vue') - // } + { + path: '/rules', + name: 'rules', + component: () => import('../views/Rules.vue') + } ] }) diff --git a/src/views/Rules.vue b/src/views/Rules.vue index 73fc9aa..0217ce9 100644 --- a/src/views/Rules.vue +++ b/src/views/Rules.vue @@ -1,4 +1,4 @@ -