Преглед на файлове

我的动态好友不显示图片

zhuli преди 4 седмици
родител
ревизия
f50d9f2e82
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/views/dynamicManagement/myDynamic.vue

+ 3 - 3
src/views/dynamicManagement/myDynamic.vue

@@ -222,7 +222,7 @@
               </div>
             </div>
 
-            <div style=" padding-bottom: 10px;color: #ffffff">
+            <div style="padding-bottom: 10px; color: #ffffff">
               {{ currentDetail.title }}
             </div>
             <div class="detail-description">
@@ -1783,8 +1783,8 @@ const handleRelationTabClick = (tab: any) => {
 const mapRecordToRelationUser = (item: any, defaultStatus: "following" | "mutual" | "none" = "none"): RelationUser => ({
   id: item.id || item.userId,
   name: item.userName || item.nickname || item.name || "用户",
-  avatar: item.userImage || item.avatar || item.headImg || "",
-  description: item.description || item.bio || item.signature || "",
+  avatar: item.image || item.userImage || item.avatar || item.headImg || "",
+  description: item.blurb || item.accountBlurb || item.description || item.bio || item.signature || "",
   relationStatus: item.isFollowThis === 1 ? ("mutual" as const) : defaultStatus,
   phoneId: item.phoneId || item.fansId || ""
 });