60 lines
1.3 KiB
JavaScript
60 lines
1.3 KiB
JavaScript
import Layout from '@/layouts/index.vue';
|
|
|
|
export default {
|
|
path: '/v2',
|
|
name: 'layout',
|
|
component: Layout,
|
|
redirect: '/v2/home',
|
|
meta: { title: '首页', icon: 'House' },
|
|
children: [
|
|
{
|
|
path: 'home',
|
|
component: () => import('@/views/home/index.vue'),
|
|
name: 'home',
|
|
meta: { title: '首页', icon: 'House' },
|
|
},
|
|
{
|
|
path: 'land',
|
|
component: () => import('@/views/land/index.vue'),
|
|
name: 'land',
|
|
meta: { title: '土地资源', icon: 'House' },
|
|
},
|
|
{
|
|
path: 'inputs',
|
|
name: 'inputs',
|
|
component: () => import('@/views/inputs/index.vue'),
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: 'entities',
|
|
name: 'entities',
|
|
component: () => import('@/views/entities/index.vue'),
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: 'breed',
|
|
name: 'breed',
|
|
component: () => import('@/views/breed/index.vue'),
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: 'plant',
|
|
name: 'plant',
|
|
component: () => import('@/views/plant/index.vue'),
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: 'trace',
|
|
name: 'trace',
|
|
component: () => import('@/views/trace/index.vue'),
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: 'early',
|
|
name: 'early',
|
|
component: () => import('@/views/early/index.vue'),
|
|
hidden: true,
|
|
},
|
|
],
|
|
};
|