From bc827ef37731948c0643499cfa9dcb98df85c77e Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 2 Dec 2019 16:03:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=8C=B9=E9=85=8D=E5=88=B0?= =?UTF-8?q?=E7=9A=84=E9=A1=B5=E9=9D=A2=E8=BF=94=E5=9B=9E=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E8=87=B3404=E9=A1=B5=EF=BC=8C=E9=98=B2=E6=AD=A2=E6=95=B4?= =?UTF-8?q?=E4=B8=AA=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/router/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 47ddd61..a315049 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -93,7 +93,8 @@ export const constantRoutes = [ meta: { title: '修改生成配置' } } ] - } + }, + { path: '*', redirect: '/404', hidden: true } ] export default new Router({