+
+
+ 首页
+ 权限管理
+ 权限列表
+
+
+
+
+
+
+
+
+
+ 等级{{['一','二','三'][scope.row.level]}}
+
+
+
+
+
+
+
+
+
diff --git a/src/router/router.js b/src/router/router.js
index 27bcbcc..8cf8cd9 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -4,6 +4,7 @@ import Login from '../components/Login'
import Home from '../components/Home'
import welcome from '../components/welcome'
import users from '../components/users/users'
+import access from '../components/access/access'
Vue.use(VueRouter)
@@ -16,7 +17,8 @@ const routes = [
redirect: '/welcome',
children: [
{ path: '/welcome', component: welcome },
- { path: '/users', component: users }
+ { path: '/users', component: users },
+ { path: '/rights', component: access }
]
}
]