fixing
This commit is contained in:
parent
a55820297a
commit
a50eb5b830
1 changed files with 3 additions and 2 deletions
|
|
@ -81,7 +81,8 @@ const options = ref<optionType[]>([
|
|||
const modalLoginLinkage = ref<boolean>(false); //เข้าสู่ระบบ Linkage Center
|
||||
|
||||
// landing page redirect
|
||||
const landingPageUrl = () => {
|
||||
const landingPageUrl = ref<string>(getLandingUrl());
|
||||
function getLandingUrl() {
|
||||
if (window.location.hostname === "bmasso.bma.go.th") {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||
} else if (window.location.hostname === "bma-ehr.frappet.com") {
|
||||
|
|
@ -89,7 +90,7 @@ const landingPageUrl = () => {
|
|||
} else {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
async function fetchmsgNoread() {
|
||||
await http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue