From c99a662edbd0c23e5c88e8a1531f9b10af6539d8 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期五, 21 一月 2022 16:47:03 +0800 Subject: [PATCH] Fixed#134576 修正 [ 顧問管理流程 ] 未聯絡預約單資訊明細 : 應只顯示「傳送約訪通知」按鈕,目前畫面顯示結案、約訪紀錄、系統通知紀錄編輯 --- PAMapp/nuxt.config.js | 22 ++++++++-------------- 1 files changed, 8 insertions(+), 14 deletions(-) diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js index 2ae6c63..8837d9a 100644 --- a/PAMapp/nuxt.config.js +++ b/PAMapp/nuxt.config.js @@ -37,12 +37,13 @@ { 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', ], // 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 @@ -50,7 +51,9 @@ // https://go.nuxtjs.dev/typescript '@nuxt/typescript-build', '@nuxtjs/axios', - '@nuxtjs/style-resources' + '@nuxtjs/style-resources', + ['@nuxtjs/dotenv', { filename: '.env.' + process.env.ENV }], + ], // Modules: https://go.nuxtjs.dev/config-modules @@ -66,16 +69,7 @@ ] }, router: { - scrollBehavior (to, from, savedPosition) { - if (savedPosition) { - return savedPosition; - } else { - document.body.scrollTop = 0; - document.documentElement.scrollTop = 0; - } - } - }, - env: { - BASE_URL: 'http://localhost:8080/api' + base: process.env.ENV === 'uat' ? '/pam/' : '', + middleware: ['getUrlQuery', 'errorRoute'] } } -- Gitblit v1.8.0