fix bug & แก้คำผิด

This commit is contained in:
Warunee Tamkoo 2024-03-28 16:29:44 +07:00
parent 2590fb1142
commit ad09bd908a
15 changed files with 45 additions and 47 deletions

View file

@ -35,6 +35,7 @@ const {
success,
messageError,
date2Thai,
dialogConfirm,
} = mixin;
const DataStore = useroleUserDataStore();
const { fetchroleUser } = DataStore;
@ -406,15 +407,12 @@ const tagClickPlacement = (tag: string) => {
* confirm อนออกจากระบบ
*/
const doLogout = () => {
$q.dialog({
title: "ยืนยันการออกจากระบบ",
message: `ต้องการออกจากระบบใช้หรือไม่?`,
cancel: "ยกเลิก",
ok: "ยืนยัน",
persistent: true,
}).onOk(() => {
keycloak.logout();
});
dialogConfirm(
$q,
() => keycloak.logout(),
"ยืนยันการออกจากระบบ",
"ต้องการออกจากระบบใช่หรือไม่?"
);
};
/**