stream day 6

This commit is contained in:
Zoe
2023-01-11 22:29:41 -06:00
parent a30bcfa0a8
commit 21a9b11547
21 changed files with 644 additions and 145 deletions

View File

@@ -22,7 +22,7 @@
<script lang="ts">
import { useGlobalStore } from '~/stores/store'
import { IUser } from '~/types';
import { SafeUser } from '~/types';
definePageMeta({
layout: 'clean'
@@ -43,7 +43,7 @@ export default {
username: this.username,
password: this.password
}
}) as { userId: string; token: string; user: IUser; }
}) as { userId: string; token: string; user: SafeUser; }
const userId = useCookie('userId')
userId.value = user.userId