diff --git a/src/components/custom-scroll-title/index.vue b/src/components/custom-scroll-title/index.vue index 6472b01..cc6f49a 100644 --- a/src/components/custom-scroll-title/index.vue +++ b/src/components/custom-scroll-title/index.vue @@ -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' }, diff --git a/src/router/modules/demo.js b/src/router/modules/demo.js index 6dfba05..21efc26 100644 --- a/src/router/modules/demo.js +++ b/src/router/modules/demo.js @@ -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' }, - // }, ], }, ]; diff --git a/src/router/modules/v2.js b/src/router/modules/v2.js index aa33c41..dbc3920 100644 --- a/src/router/modules/v2.js +++ b/src/router/modules/v2.js @@ -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: '' }, // }, ], };