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 } ] } ]