From 6fa4bba623713c396432ba8b863846883d6a1906 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期三, 26 一月 2022 10:52:23 +0800 Subject: [PATCH] Merge branch 'pollex-dev' into sit --- PAMapp/nuxt.config.js | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js index 33f59f2..d4252d5 100644 --- a/PAMapp/nuxt.config.js +++ b/PAMapp/nuxt.config.js @@ -37,12 +37,14 @@ { src: '~/plugins/vue-awesome-swiper.js', mode: 'client' }, '~/plugins/service.ts', '~/plugins/vue-scroll-picker', - '~/plugins/filters/date.filter.ts' + '~/plugins/filters/date.filter.ts', + '~/plugins/filters/age.filter.ts', + '~/plugins/filters/appointment-fail-reason.filter.ts', ], // Auto import components: https://go.nuxtjs.dev/config-components components: true, - // loading + // loading loading: '~/components/loading.vue', // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules @@ -68,6 +70,7 @@ ] }, router: { - base: process.env.ENV === 'uat' ? '/pam/' : '' + base: process.env.ENV === 'uat' ? '/pam/' : '', + middleware: ['getUrlQuery', 'errorRoute'] } } -- Gitblit v1.8.0