AccountRouter.ts 817 Bytes
import {RouteRecordRaw} from "vue-router";

export const accountRouter: Array<RouteRecordRaw> = [
    {
        path: '/account/accounts',
        component: () => import( '@/views/account/account/AccountPage.vue'),
        meta: {
            breadcrumbs: [{name: '车商管理'}, {name: '用户列表'}]
        }
    },
    {
        path: '/account/view',
        component: () => import( '@/views/account/account/ViewAccount.vue'),
        meta: {
            breadcrumbs: [{name: '车商管理'}, {name: '用户列表', path: '/account/accounts'}, {name: '用户详情'}]
        }
    },
    {
        path: '/account/tag',
        component: () => import( '@/views/account/tag/AccountTagPage.vue'),
        meta: {
            breadcrumbs: [{name: '车商管理'}, {name: '标签管理'}]
        }
    },
];