wupengfei
6 天以前 b89d6a0f58e3c4d7bd3704e007ea96c85a92d0a5
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>