From c4fcfbef768b935b465932f4f0ef3eddfcd3b45d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 17 Mar 2025 09:24:14 +0700 Subject: [PATCH] fix test --- index.html | 4 ++-- src/views/MainView.vue | 7 ++++++- src/views/login.vue | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3d71b38..4828cc4 100644 --- a/index.html +++ b/index.html @@ -20,10 +20,10 @@
- - + --> diff --git a/src/views/MainView.vue b/src/views/MainView.vue index 8b215c7..9f5f853 100644 --- a/src/views/MainView.vue +++ b/src/views/MainView.vue @@ -160,7 +160,7 @@ function onLoad(index: number, done: Function) { } // landing page redirect -const landingPageUrl = ref(configParam.landingPageUrl) +// const landingPageUrl = ref(configParam.landingPageUrl) /** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/ async function fetchKeycloakPosition() { @@ -291,6 +291,11 @@ onMounted(async () => { if (checkTokenParsed != null) { fullName.value = checkTokenParsed.name } + console.log('configParam.landingPageUrl', configParam.landingPageUrl) + console.log( + 'import.meta.env.VITE_URL_LANDING', + import.meta.env.VITE_URL_LANDING + ) }) diff --git a/src/views/login.vue b/src/views/login.vue index df02614..5600401 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -54,6 +54,10 @@ onMounted(async () => { if (checkAuthen) { router.push('/') } + console.log( + 'import.meta.env.VITE_URL_LANDING', + import.meta.env.VITE_URL_LANDING + ) })