0
0
Fork 0

add trailing commas and refactor import

This commit is contained in:
Pau 2022-12-20 08:57:41 +01:00
parent 6e2425fd5a
commit 8ca5f33ba2
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { useQuasar } from 'quasar'; import { useQuasar } from 'quasar';
import Paginate from 'src/components/Paginate.vue'; import Paginate from 'src/components/PaginateData.vue';
import WorkerSummaryDialog from './Card/WorkerSummaryDialog.vue'; import WorkerSummaryDialog from './Card/WorkerSummaryDialog.vue';
const router = useRouter(); const router = useRouter();

View File

@ -5,7 +5,7 @@ export default {
path: '/worker', path: '/worker',
meta: { meta: {
title: 'workers', title: 'workers',
icon: 'vn:worker' icon: 'vn:worker',
}, },
component: RouterView, component: RouterView,
redirect: { name: 'WorkerMain' }, redirect: { name: 'WorkerMain' },
@ -25,7 +25,7 @@ export default {
}, },
component: () => import('src/pages/Worker/WorkerList.vue'), component: () => import('src/pages/Worker/WorkerList.vue'),
}, },
] ],
}, },
{ {
name: 'WorkerCard', name: 'WorkerCard',
@ -37,11 +37,11 @@ export default {
name: 'WorkerSummary', name: 'WorkerSummary',
path: 'summary', path: 'summary',
meta: { meta: {
title: 'summary' title: 'summary',
}, },
component: () => import('src/pages/Worker/Card/WorkerSummary.vue'), component: () => import('src/pages/Worker/Card/WorkerSummary.vue'),
}, },
] ],
}, },
] ],
}; };