forked from verdnatura/salix-front
add trailing commas and refactor import
This commit is contained in:
parent
6e2425fd5a
commit
8ca5f33ba2
|
@ -2,7 +2,7 @@
|
|||
import { useI18n } from 'vue-i18n';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useQuasar } from 'quasar';
|
||||
import Paginate from 'src/components/Paginate.vue';
|
||||
import Paginate from 'src/components/PaginateData.vue';
|
||||
import WorkerSummaryDialog from './Card/WorkerSummaryDialog.vue';
|
||||
|
||||
const router = useRouter();
|
||||
|
|
|
@ -5,7 +5,7 @@ export default {
|
|||
path: '/worker',
|
||||
meta: {
|
||||
title: 'workers',
|
||||
icon: 'vn:worker'
|
||||
icon: 'vn:worker',
|
||||
},
|
||||
component: RouterView,
|
||||
redirect: { name: 'WorkerMain' },
|
||||
|
@ -25,7 +25,7 @@ export default {
|
|||
},
|
||||
component: () => import('src/pages/Worker/WorkerList.vue'),
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'WorkerCard',
|
||||
|
@ -37,11 +37,11 @@ export default {
|
|||
name: 'WorkerSummary',
|
||||
path: 'summary',
|
||||
meta: {
|
||||
title: 'summary'
|
||||
title: 'summary',
|
||||
},
|
||||
component: () => import('src/pages/Worker/Card/WorkerSummary.vue'),
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
]
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue