Fix more route props
This commit is contained in:
parent
93660cf421
commit
d6c182b5ab
|
|
@ -95,10 +95,12 @@ const router = createRouter({
|
||||||
{
|
{
|
||||||
path: "media",
|
path: "media",
|
||||||
component: () => import("@/pages/mediaLibrary/MediaLibraryParentPage.vue"),
|
component: () => import("@/pages/mediaLibrary/MediaLibraryParentPage.vue"),
|
||||||
|
props: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
component: () => import("@/pages/mediaLibrary/MediaLibraryIndexPage.vue"),
|
component: () => import("@/pages/mediaLibrary/MediaLibraryIndexPage.vue"),
|
||||||
|
props: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: ":categorySlug",
|
path: ":categorySlug",
|
||||||
|
|
@ -158,6 +160,7 @@ const router = createRouter({
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
|
props: true,
|
||||||
component: () =>
|
component: () =>
|
||||||
import("../pages/learningPath/learningPathPage/LearningPathPage.vue"),
|
import("../pages/learningPath/learningPathPage/LearningPathPage.vue"),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue