Merge branch 'milestone/ff-admin-unit' into unit/#70-build-ui-demo
This commit is contained in:
commit
43f46c0fad
62 changed files with 248 additions and 477 deletions
|
@ -25,7 +25,7 @@ const router = createRouter({
|
|||
routes: [
|
||||
{
|
||||
path: "/",
|
||||
redirect: { name: "admin" },
|
||||
redirect: { name: "admin-default" },
|
||||
},
|
||||
{
|
||||
path: "/login",
|
||||
|
@ -86,12 +86,13 @@ const router = createRouter({
|
|||
path: "/admin",
|
||||
name: "admin",
|
||||
component: () => import("@/views/admin/View.vue"),
|
||||
beforeEnter: [isAuthenticated],
|
||||
beforeEnter: [isAuthenticated, abilityAndNavUpdate],
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "admin-default",
|
||||
component: () => import("@/views/admin/ViewSelect.vue"),
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
},
|
||||
{
|
||||
path: "club",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue