fix get user info card

This commit is contained in:
2024-09-05 16:27:35 +08:00
parent 403bbc4040
commit 4393e3d9a7
3 changed files with 2 additions and 3 deletions

View File

@@ -264,7 +264,7 @@ onUnmounted(() => {
</NCard>
<template v-if="item.answer" #footer>
<NSpace align="center" :size="6" :wrap="false">
<NAvatar :src="biliInfo.face + '@64w'" circle :size="45" :img-props="{ referrerpolicy: 'no-referrer' }" />
<NAvatar :src="biliInfo?.face + '@64w'" circle :size="45" :img-props="{ referrerpolicy: 'no-referrer' }" />
<NDivider vertical />
<NText style="font-size: 16px">
{{ item.answer?.message }}

View File

@@ -153,4 +153,3 @@ export const Config: TemplateConfig<ConfigType> = {
</NSpace>
</template>
</template>
import { QueryGetAPI } from '@/api/query' import { USER_INDEX_API_URL } from '@/data/constants'