From 3436f77c4a47c05474d93d9e9a643b97c7816161 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 31 十二月 2019 17:18:56 +0800 Subject: [PATCH] request.js缺少Message引用 --- ruoyi-ui/src/router/index.js | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index a315049..b265363 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -27,6 +27,17 @@ // 鍏叡璺敱 export const constantRoutes = [ { + path: '/redirect', + component: Layout, + hidden: true, + children: [ + { + path: '/redirect/:path*', + component: () => import('@/views/redirect') + } + ] + }, + { path: '/login', component: () => import('@/views/login'), hidden: true @@ -93,8 +104,7 @@ meta: { title: '淇敼鐢熸垚閰嶇疆' } } ] - }, - { path: '*', redirect: '/404', hidden: true } + } ] export default new Router({ -- Gitblit v1.9.3