diff options
Diffstat (limited to 'settings/src/router.js')
-rw-r--r-- | settings/src/router.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/settings/src/router.js b/settings/src/router.js index cc6f48e681b..e23a07e3ffc 100644 --- a/settings/src/router.js +++ b/settings/src/router.js @@ -15,9 +15,16 @@ Vue.use(Router); export default new Router({ mode: 'history', - base: window.location.pathName, + base: window.location.pathname, + parseQuery: function(query) {console.log(query);}, routes: [{ path: '/settings/users', - component: Users + component: Users, + props: true, + children: [{ + path: ':selectedGroup', + component: Users + }, + ] }] });
\ No newline at end of file |