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

@@ -215,7 +215,7 @@ const isPointFinished = ref(false);
const friendList = ref([]);
const isFriendFinished = ref(false);
const themeList = ref([]);
const isThemeFinished = ref([]);
const isThemeFinished = ref(false);
const allDiscussList = ref([]);
const isAllDiscussFinished = ref(false);
const userAnalyseInfo = ref({});

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: {