From ae4db5435180c44b37f521c463b17f2023ac1d8c Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期五, 18 二月 2022 09:25:50 +0800
Subject: [PATCH] [update] 若顧問停用時,將無法登入 (文案待確認)

---
 PAMapp/nuxt.config.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js
index 73f32ed..73033a1 100644
--- a/PAMapp/nuxt.config.js
+++ b/PAMapp/nuxt.config.js
@@ -39,6 +39,8 @@
     '~/plugins/vue-scroll-picker',
     '~/plugins/filters/date.filter.ts',
     '~/plugins/filters/age.filter.ts',
+    '~/plugins/filters/appointment-fail-reason.filter.ts',
+    '~/plugins/filters/serve-area.filter.ts',
   ],
 
   // Auto import components: https://go.nuxtjs.dev/config-components
@@ -69,6 +71,7 @@
     ]
   },
   router: {
-    base: process.env.ENV === 'uat' ? '/pam/' : ''
+    base: process.env.ENV === 'uat' ? '/pam/' : '',
+    middleware: ['getUrlQuery', 'errorRoute']
   }
 }

--
Gitblit v1.8.0