เเก้สถานะ อ่านเเล้วไม่เเสดง
This commit is contained in:
parent
e4f4fc3967
commit
40552fe9d2
1 changed files with 5 additions and 5 deletions
|
|
@ -260,7 +260,7 @@ const onLoad = (async (_: any, done: any) => {
|
||||||
:stamp="moment(item.createdAt).fromNow()"
|
:stamp="moment(item.createdAt).fromNow()"
|
||||||
/>
|
/>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
|
{{ console.log(item.fromUserId === store.userId) }}
|
||||||
<q-item-label
|
<q-item-label
|
||||||
v-if="item.fromUserId === store.userId"
|
v-if="item.fromUserId === store.userId"
|
||||||
class="flex"
|
class="flex"
|
||||||
|
|
@ -273,13 +273,13 @@ const onLoad = (async (_: any, done: any) => {
|
||||||
(v) =>
|
(v) =>
|
||||||
new Date(v.lastAccessDate).getTime() >=
|
new Date(v.lastAccessDate).getTime() >=
|
||||||
new Date(item.createdAt).getTime() &&
|
new Date(item.createdAt).getTime() &&
|
||||||
index + 1 === store.message?.result.message.length &&
|
index + 1 === store.message?.result.message.length
|
||||||
v.fromUserId !== store.userId
|
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
class="q-mr-xl"
|
||||||
>
|
>
|
||||||
{{ store.messageStatus?.result }}
|
<q-icon name="mdi-check-all" size="xs" />
|
||||||
อ่านเเล้ว
|
<span class="text-caption q-ml-sm">อ่านแล้ว</span>
|
||||||
</div>
|
</div>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue