template storing
This commit is contained in:
parent
467dfd8c1b
commit
78a9d206c3
11 changed files with 581 additions and 63 deletions
|
@ -407,7 +407,7 @@ const router = createRouter({
|
|||
path: "template",
|
||||
name: "admin-settings-template-route",
|
||||
component: () => import("@/views/RouterView.vue"),
|
||||
// meta: { type: "read", section: "settings", module: "template" },
|
||||
meta: { type: "read", section: "settings", module: "template" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
children: [
|
||||
{
|
||||
|
@ -415,12 +415,18 @@ const router = createRouter({
|
|||
name: "admin-settings-template",
|
||||
component: () => import("@/views/admin/settings/template/Template.vue"),
|
||||
},
|
||||
{
|
||||
path: "info",
|
||||
name: "admin-settings-template-info",
|
||||
component: () => import("@/views/admin/settings/template/UsageInfo.vue"),
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: ":id/edit",
|
||||
name: "admin-settings-template-edit",
|
||||
component: () => import("@/views/admin/settings/template/Template.vue"),
|
||||
// meta: { type: "update", section: "settings", module: "template" },
|
||||
// beforeEnter: [abilityAndNavUpdate],
|
||||
component: () => import("@/views/admin/settings/template/TemplateEdit.vue"),
|
||||
meta: { type: "update", section: "settings", module: "template" },
|
||||
beforeEnter: [abilityAndNavUpdate],
|
||||
props: true,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue