浏览代码

Merge branch 'dev' of xiongzhu/raex_front into master

panhui 3 年之前
父节点
当前提交
a6e029b58f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/plugins/chat.js

+ 1 - 1
src/plugins/chat.js

@@ -188,7 +188,7 @@ function getPushMsg(msgs, oldMsgs = []) {
         .map(item => {
             return {
                 ...item,
-                time: item.time || new Date(item.createdAt)
+                time: item.time || item.timetag || new Date(item.createdAt)
             };
         })
         .sort((a, b) => {