From a48b3f0557eaa7c95fbf948e10d8792ca878aad7 Mon Sep 17 00:00:00 2001 From: xing Date: Mon, 22 Jun 2020 15:26:09 +0800 Subject: [PATCH] =?UTF-8?q?<=E9=87=8D=E7=82=B9>=20=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=89=E7=BA=A7=E6=9D=83=E9=99=90=EF=BC=8C=E5=B9=B6=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/globel.css | 1 + src/components/access/access.vue | 8 +-- src/components/access/roles.vue | 110 +++++++++++++++++++++++++++++++ src/router/router.js | 4 +- 4 files changed, 116 insertions(+), 7 deletions(-) create mode 100644 src/components/access/roles.vue diff --git a/src/assets/css/globel.css b/src/assets/css/globel.css index 92df74d..f49681b 100644 --- a/src/assets/css/globel.css +++ b/src/assets/css/globel.css @@ -2,6 +2,7 @@ html,body,#app{ height: 100%; margin: 0; padding: 0; + min-width: 1366px; } .el-breadcrumb { margin-bottom: 15px; diff --git a/src/components/access/access.vue b/src/components/access/access.vue index 10a70d9..a1fbc97 100644 --- a/src/components/access/access.vue +++ b/src/components/access/access.vue @@ -10,12 +10,8 @@ - - + + diff --git a/src/components/access/roles.vue b/src/components/access/roles.vue new file mode 100644 index 0000000..50c2ac5 --- /dev/null +++ b/src/components/access/roles.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/router/router.js b/src/router/router.js index 8cf8cd9..bc9bb45 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -5,6 +5,7 @@ import Home from '../components/Home' import welcome from '../components/welcome' import users from '../components/users/users' import access from '../components/access/access' +import roles from '../components/access/roles' Vue.use(VueRouter) @@ -18,7 +19,8 @@ const routes = [ children: [ { path: '/welcome', component: welcome }, { path: '/users', component: users }, - { path: '/rights', component: access } + { path: '/rights', component: access }, + { path: '/roles', component: roles } ] } ]