Implementing exercise 3.2

This commit is contained in:
2024-11-20 14:07:41 +01:00
parent 366f1060e3
commit 57358fa818
7 changed files with 68 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
import cardView from '@/components/basics/cardView.vue';
import outlinedButton from '@/components/basics/outlinedButton.vue';
import { useAccountStore } from '@/stores/account.store';
import { watch } from 'vue';
import { useRouter } from 'vue-router';
const accountStore = useAccountStore()
@@ -33,6 +34,7 @@ async function startLogin() {
variant="outlined"
clearable
@keyup.enter="startLogin"
id="txt-username"
/>
</v-col>
</v-row>
@@ -47,6 +49,7 @@ async function startLogin() {
v-model="accountStore.loginData.password"
clearable
@keyup.enter="startLogin"
id="txt-password"
/>
</v-col>
</v-row>
@@ -65,6 +68,7 @@ async function startLogin() {
@click="startLogin"
:loading="accountStore.fetchInProgress"
color="green"
id="btn-login"
>
{{ $t('account.login.login') }}
</outlined-button>