panhui před 3 roky
rodič
revize
89064034cf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) => {