mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 14:42:51 +00:00
fix: 跨地区发消息出现消息过期的情况
This commit is contained in:
parent
d973451bdc
commit
97cdd56110
@ -38,7 +38,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
isOverdueMsg({msg, createdAt}) {
|
isOverdueMsg({msg, createdAt}) {
|
||||||
return msg.text === '...' && $A.daytz(createdAt).isBefore($A.daytz().subtract(10, 'minute'));
|
return msg.text === '...' && $A.dayjs(createdAt).isBefore($A.daytz().subtract(10, 'minute'));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user