Files
web/app/components/user/Logout.vue
2026-05-05 11:06:49 +07:00

25 lines
665 B
Vue

<template>
<div>
<article class="message is-dark">
<div class="message-body py-2 mt-5 has-text-dark fs-16">
{{
$store.lang === "en"
? "Click the button below to log out of the system."
: "Nhấn vào nút bên dưới để thoát khỏi hệ thống."
}}
</div>
</article>
<div class="mt-5 pt-3">
<button
class="button is-primary has-text-white"
@click="$requestLogin()"
>
{{ $store.lang === "en" ? "Sign out" : "Đăng xuất" }}
</button>
</div>
</div>
</template>
<script setup>
const { $store, $requestLogin } = useNuxtApp();
</script>