inleft
2022-03-04 74344a2ec388b78fe906a22c31f8fdb77fc60b12
src/config/router.config.js
@@ -18,8 +18,8 @@
export const asyncRouterMap = [{
      path: '*',
      // redirect: '/404',
      component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404'),
      redirect: '/404',
      // component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404'),
      hidden: true
   },
   {
@@ -30,7 +30,7 @@
            component: main1,
            children: [{
                  path: '/',
                  name: "articleList",
                  name: "home",
                  component: articleList,
                  props: true
               },
@@ -59,6 +59,10 @@
               }, {
                  path: '/link',
                  component: boxFriend,
               },
               {
                  path: '/404',
                  component: () => import('@/views/exception/404')
               }
            ]
         },
@@ -101,8 +105,8 @@
 * @type { *[] }
 */
export const constantRouterMap = [{
      path: '/404',
      component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404')
      // path: '/404',
      // component: () => import( /* webpackChunkName: "fail" */ '@/views/exception/404')
   }
]