bzkf3 2 年之前
父节点
当前提交
72f34696fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/info-item/index.vue

+ 1 - 1
src/components/info-item/index.vue

@@ -22,7 +22,7 @@ const showMsg = $computed(() => decodeURIComponent(props.d.dxzl_last_msg_content
   <div class="w-full" :class="left ? 'left' : 'right'">
     <div class="flex items-end r_flex-row-reverse gap-4">
       <div>{{ id2name[d.create_user_id] }}</div>
-      <div class="text-sm text-hex-AFB2B6">{{ formatTimeToShow(props.d.create_dateline * 1000) }}</div>
+      <div class="text-sm text-hex-AFB2B6">{{ formatTimeToShow(parseInt(props.d.create_dateline) * 1000) }}</div>
     </div>
     <div class="flex mt-2 r_flex-row-reverse">
       <div class=" py-10px px-25px rounded-3xl min-h-44px bg-white text_wrapper" :style="`max-width:${props.w}px`"