mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
perf: 新消息在会话列表时间与消息里不一致
This commit is contained in:
parent
53145f0ca2
commit
a77a32d64e
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -2484,7 +2484,7 @@ export default {
|
|||||||
const updateData = {
|
const updateData = {
|
||||||
id: data.dialog_id,
|
id: data.dialog_id,
|
||||||
last_msg: data,
|
last_msg: data,
|
||||||
last_at: $A.formatDate("Y-m-d H:i:s")
|
last_at: data.created_at || $A.formatDate("Y-m-d H:i:s")
|
||||||
}
|
}
|
||||||
if (data.mtype == 'tag') {
|
if (data.mtype == 'tag') {
|
||||||
updateData.has_tag = true;
|
updateData.has_tag = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user