panhui 3 лет назад
Родитель
Сommit
89064034cf
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) => {