mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
fix: 跨地区发消息出现消息过期的情况
This commit is contained in:
parent
d973451bdc
commit
97cdd56110
@ -38,7 +38,7 @@ export default {
|
||||
},
|
||||
|
||||
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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user