智慧农业大数据平台
shuishen
2022-07-29 7210f462c6e4cf0c26ae43c4949f34fbf6b07372
src/router/page/index.js
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-04-30 14:12:09
 * @Last Modified by: Morpheus
 * @Last Modified time: 2022-07-14 18:28:34
 * @Last Modified time: 2022-07-29 09:15:23
 */
import Vue from 'vue'
@@ -19,6 +19,15 @@
    {
        path: '/',
        redirect: '/lyout'
    },
    {
        path: '/login',
        name: 'login',
        component: resolve => require(['../../views/login/index.vue'], resolve),
        meta: {
            title: '登录页',
            isAuth: false
        }
    },
    {
        path: '/lyout',
@@ -77,7 +86,8 @@
            import(/* webpackChunkName: "page" */ '@/components/error-page/403'),
        name: '403',
        meta: {
            title: '403页面'
            title: '403页面',
            isAuth: false
        }
    },
    {
@@ -86,7 +96,8 @@
            import(/* webpackChunkName: "page" */ '@/components/error-page/404'),
        name: '404',
        meta: {
            title: '404页面'
            title: '404页面',
            isAuth: false
        }
    },
@@ -96,12 +107,14 @@
            import(/* webpackChunkName: "page" */ '@/components/error-page/500'),
        name: '500',
        meta: {
            title: '500页面'
            title: '500页面',
            isAuth: false
        }
    },
    {
        path: '*',
        redirect: '/404'
        redirect: '/404',
        isAuth: false
    }
]