wupengfei
5 天以前 022ae7305b51796cdd6bcd5eac7eef9e149898c3
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>