🐛 Fix frontend

This commit is contained in:
LittleSheep 2024-06-26 17:22:26 +08:00
parent f69f1026d8
commit 7aef153bf3
2 changed files with 3 additions and 4 deletions

View File

@ -32,8 +32,7 @@ async function load() {
emits("update:loading", true)
await getToken(props.ticket.grant_token)
await userinfo.readProfiles()
emits("update:loading", false)
setTimeout(() => callback(), 3000)
setTimeout(() => callback(), 1850)
}
onMounted(() => load())

View File

@ -1,14 +1,14 @@
<template>
<div>
<v-card>
<v-img cover class="bg-grey-lighten-2" :height="240" src="/api/users/me/avatar" />
<v-img cover class="bg-grey-lighten-2" :height="240" src="/api/users/me/banner" />
<v-card-text class="flex gap-3.5 px-5 pb-5">
<v-avatar
color="grey-lighten-2"
icon="mdi-account-circle"
class="rounded-card"
image="/api/users/me/banner"
image="/api/users/me/avatar"
:size="54"
/>
<div>