From 94f1c084f8694d097a3f61d7707e7726d1219cf8 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期五, 29 七月 2022 13:32:54 +0800 Subject: [PATCH] update: authGuard --- PAMapp/nuxt.config.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js index 3297a96..e1a7fe3 100644 --- a/PAMapp/nuxt.config.js +++ b/PAMapp/nuxt.config.js @@ -107,6 +107,6 @@ router: { base: process.env.ENV === 'dev' ? '' : '/pam/', mode: 'hash', - middleware: ['getUrlQuery', 'errorRoute'] + middleware: [ 'isLogin', 'getUrlQuery', 'errorRoute'] } } -- Gitblit v1.8.0