keycloak.logout

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-25 17:36:47 +07:00
parent 02827aa02d
commit 8d51e6f623
2 changed files with 37 additions and 44 deletions

View file

@ -128,21 +128,6 @@ function onClickDownloadKp7(type: string) {
});
}
/**
* logout keycloak
* confirm อนออกจากระบบ
*/
const doLogout = () => {
dialogConfirm(
$q,
() => {
keycloak.logout();
},
"ยืนยันการออกจากระบบ",
"ต้องการออกจากระบบใช่หรือไม่"
);
};
/**
* งชนกลบหนาหล
*/
@ -354,16 +339,6 @@ onMounted(async () => {
>
<q-tooltip>ดาวนโหลด ..7/.. 1</q-tooltip>
</q-btn>
<q-btn
color="red-1"
text-color="red-12"
unelevated
dense
round
size="14px"
icon="mdi-logout"
@click="doLogout"
></q-btn>
</div>
</q-card-section>