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