fix: 跨地区发消息出现消息过期的情况

This commit is contained in:
kuaifan 2025-02-04 13:03:13 +09:00
parent d973451bdc
commit 97cdd56110

View File

@ -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: {