perf:优化首页交互

This commit is contained in:
Xwen
2024-01-09 21:46:09 +08:00
parent bf6155b1bd
commit 9d826c7063
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="friend-box">
<div class="left">
<div class="icon"><img :src="userImageSrc" alt="" /></div>
<UserInfoCard :userInfo="friendData" :iconUrl="userImageSrc" />
</div>
<div class="center">
<div class="top">
@@ -34,6 +34,7 @@
<script setup name="RecommendFriend">
import { defineProps, computed } from "vue";
import UserInfoCard from "@/components/UserInfoCard/index.vue";
const props = defineProps({
friendData: {