wupengfei
2 天以前 7343ef57056cbd1197240a58fabb785c84b39691
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>