refactor to lowerCamelCase

This commit is contained in:
Pau 2022-12-20 09:11:17 +01:00
parent 8ca5f33ba2
commit b143f1f9c7
1 changed files with 9 additions and 6 deletions

View File

@ -1,24 +1,27 @@
import { RouterView } from 'vue-router';
export default {
name: 'Worker',
path: '/worker',
name: 'Worker',
meta: {
title: 'workers',
icon: 'vn:worker',
},
component: RouterView,
redirect: { name: 'WorkerMain' },
redirect: { name: 'workerMain' },
menus: {
main: ['workerMain'],
},
children: [
{
name: 'WorkerMain',
path: '',
name: 'workerMain',
component: () => import('src/pages/Worker/WorkerMain.vue'),
redirect: { name: 'WorkerList' },
children: [
{
name: 'WorkerList',
path: 'list',
name: 'WorkerList',
meta: {
title: 'list',
icon: 'view_list',
@ -28,13 +31,13 @@ export default {
],
},
{
name: 'WorkerCard',
name: 'workerCard',
path: ':id',
component: () => import('src/pages/Worker/Card/WorkerCard.vue'),
redirect: { name: 'WorkerSummary' },
children: [
{
name: 'WorkerSummary',
name: 'workerSummary',
path: 'summary',
meta: {
title: 'summary',