投入品路由

This commit is contained in:
wangzenghua 2025-04-25 02:22:19 +01:00
parent c867ec52d1
commit b74cc40192
3 changed files with 15 additions and 21 deletions

View File

@ -48,7 +48,7 @@ const props = defineProps({
return [
{ label: '首页', value: 'home' },
{ label: '土地资源', value: 'land' },
{ label: '投入品', value: 'inputs' },
{ label: '投入品监管', value: 'inputs' },
{ label: '生产经营主体', value: 'entities' },
// { label: '', value: 'plant' },
// { label: '', value: 'breed' },

View File

@ -20,12 +20,6 @@ export default [
component: () => import('@/views/demo/rank.vue'),
meta: { title: '滚动排名列表', icon: 'document' },
},
// {
// path: '/page',
// component: () => import('@/views/demo/test.vue'),
// name: 'page',
// meta: { title: '测试', icon: 'document' },
// },
],
},
];

View File

@ -5,55 +5,55 @@ export default {
name: 'v2',
component: Layout,
redirect: '/v2/home',
meta: { title: '首页', icon: 'House' },
meta: { title: '首页', icon: '' },
children: [
// {
// path: '/v2/home',
// component: () => import('@/views/home/index.vue'),
// name: 'home',
// meta: { title: '首页', icon: 'House' },
// meta: { title: '首页', icon: '' },
// },
{
path: '/v2/land',
component: () => import('@/views/land/index.vue'),
name: 'land',
meta: { title: '土地资源', icon: 'House' },
meta: { title: '土地资源', icon: '' },
},
{
path: 'inputs',
name: 'inputs',
component: () => import('@/views/inputs/index.vue'),
meta: { title: '投入品监管', icon: '' },
},
// {
// path: 'inputs',
// name: 'inputs',
// component: () => import('@/views/inputs/index.vue'),
// hidden: true,
// },
// {
// path: 'entities',
// name: 'entities',
// component: () => import('@/views/entities/index.vue'),
// hidden: true,
// meta: { title: '', icon: '' },
// },
// {
// path: 'breed',
// name: 'breed',
// component: () => import('@/views/breed/index.vue'),
// hidden: true,
// meta: { title: '', icon: '' },
// },
// {
// path: 'plant',
// name: 'plant',
// component: () => import('@/views/plant/index.vue'),
// hidden: true,
// meta: { title: '', icon: '' },
// },
// {
// path: 'trace',
// name: 'trace',
// component: () => import('@/views/trace/index.vue'),
// hidden: true,
// meta: { title: '', icon: '' },
// },
// {
// path: 'early',
// name: 'early',
// component: () => import('@/views/early/index.vue'),
// hidden: true,
// meta: { title: '', icon: '' },
// },
],
};