From 5b2dd794ec680d47e907ff43a264a7f82c30a130 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 18 十月 2022 16:23:55 +0800
Subject: [PATCH] 部门编辑优化
---
src/views/layout/components/AsideBar/index.vue | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/views/layout/components/AsideBar/index.vue b/src/views/layout/components/AsideBar/index.vue
index cb972c5..f3e391f 100644
--- a/src/views/layout/components/AsideBar/index.vue
+++ b/src/views/layout/components/AsideBar/index.vue
@@ -27,14 +27,27 @@
{
name: "鍩虹璁剧疆", index: '/home/system/base', children: [
{
- name: '鐢ㄦ埛绠$悊', index: '/home/system/userList',
+ name: '鐢ㄦ埛绠$悊', index: '/home/system/user',
},
{
- name: '鏂板鐢ㄦ埛', index: '/home/system/createUser'
+ name:'瑙掕壊绠$悊', index:'/home/system/role',
+ },
+ {
+ name:'鏉冮檺绠$悊',index:'/home/system/authority',
+ },
+ {
+ name:'閮ㄩ棬绠$悊',index:'/home/system/department',
}
]
},
- { name: "骞冲彴璁剧疆", index: "/home/system/plateform", children: [] },
+ { name: "骞冲彴璁剧疆", index: "/home/system/plateform", children: [
+ {
+ name:'闂ㄦ埛璁剧疆',index:'/home/system/portalSetting'
+ },
+ {
+ name:'绗笁鏂规帴鍙g鐞�',index:'/home/system/otherInterface'
+ }
+ ] },
],
}
],
@@ -56,11 +69,9 @@
this.asideList = null;
menu.forEach(item => {
if (path.indexOf(item.name) !== -1) {
- console.log(item.children);
that.asideList = item.children;
}
})
- console.log(this.asideList);
},
Jump(path) {
this.$router.push(path);
@@ -91,7 +102,7 @@
top: 0;
left: 0;
z-index: 999;
- box-shadow: 0 -5px 5px #0ff inset;
+ // box-shadow: 0 -5px 5px #0ff inset;
}
.el-scrollbar {
--
Gitblit v1.8.0