Merge branch 'main' of http://47.109.205.240:3000/Web/digital-agriculture-screen
This commit is contained in:
		
						commit
						1fb5b814d8
					
				@ -1,3 +1,3 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div></div>
 | 
			
		||||
  <router-view />
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
import { createRouter, createWebHistory } from 'vue-router';
 | 
			
		||||
// import Layout from '@/layouts/index.vue';
 | 
			
		||||
import Layout from '@/layouts/index.vue';
 | 
			
		||||
 | 
			
		||||
import demoRouters from './modules/demo';
 | 
			
		||||
 | 
			
		||||
@ -16,21 +16,21 @@ export const constantRoutes = [
 | 
			
		||||
  //   component: () => import('@/views/error/403.vue'),
 | 
			
		||||
  //   hidden: true,
 | 
			
		||||
  // },
 | 
			
		||||
  // {
 | 
			
		||||
  //   path: '/',
 | 
			
		||||
  //   name: 'layout',
 | 
			
		||||
  //   component: Layout,
 | 
			
		||||
  //   redirect: '/home',
 | 
			
		||||
  //   meta: { title: '首页', icon: 'House' },
 | 
			
		||||
  //   children: [
 | 
			
		||||
  //     {
 | 
			
		||||
  //       path: '/home',
 | 
			
		||||
  //       component: () => import('@/views/home/index.vue'),
 | 
			
		||||
  //       name: 'home',
 | 
			
		||||
  //       meta: { title: '首页', icon: 'House' },
 | 
			
		||||
  //     },
 | 
			
		||||
  //   ],
 | 
			
		||||
  // },
 | 
			
		||||
  {
 | 
			
		||||
    path: '/',
 | 
			
		||||
    name: 'layout',
 | 
			
		||||
    component: Layout,
 | 
			
		||||
    redirect: '/home',
 | 
			
		||||
    meta: { title: '首页', icon: 'House' },
 | 
			
		||||
    children: [
 | 
			
		||||
      {
 | 
			
		||||
        path: '/home',
 | 
			
		||||
        component: () => import('@/views/home/index.vue'),
 | 
			
		||||
        name: 'home',
 | 
			
		||||
        meta: { title: '首页', icon: 'House' },
 | 
			
		||||
      },
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
  ...demoRouters,
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user