Browse Source

feat: 修改头像框不显示的问题

sunxiao 3 tuần trước cách đây
mục cha
commit
45e5f3c65d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/components/Layout/TheChatView.vue

+ 2 - 2
src/components/Layout/TheChatView.vue

@@ -25,7 +25,7 @@ defineProps({
   },
   isHeader: {
     type: Boolean,
-    default: true
+    default: () => true
   }
 })
 
@@ -59,7 +59,7 @@ defineExpose({ targetScrollDom });
           <span v-if="leftTitle" class="left_title">{{ leftTitle }}</span>
         </div>
         <div class="right_inner flex items-center space-x-[16px]">
-          <UserTop v-if="isRight"></UserTop>
+          <UserTop></UserTop>
         </div>
       </div>
       <main class="chat-main flex flex-1 flex-col justify-between" v-if="isChatSlot">