wupengfei
2025-02-13 581587b594c3b397a431a312143d9c3ab867e93f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<template>
  <Avatar :src="userDetail?.avatarUrl"></Avatar>
</template>
 
<script setup lang="ts">
import { Avatar } from '@12333/components';
import { useUser } from '@/hooks';
 
defineOptions({
  name: 'UserAvatar',
});
 
const { userDetail } = useUser();
</script>