Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
fix: fix updateTime is null when push message on local
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazyokd committed May 1, 2023
1 parent a03877b commit 1e64b2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/MessageArea/MessageBottomInputArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const emojiData = require("@/assets/emoji.json");
import { mapGetters, mapState } from "vuex";
import { messageType2wsType } from "@/utils/common";
import { API_BASE_URL, FILE_UPLOAD_API_URL } from "@/config/api";
import date from "@/utils/date";
export default {
name: "MessageBottomInputArea",
data() {
Expand Down Expand Up @@ -119,6 +120,7 @@ export default {
name,
ws_type: messageType2wsType(contentType, this.isGroup),
contentType,
updateTime: date.getCurrentTime(),
content,
url,
size,
Expand Down

0 comments on commit 1e64b2f

Please sign in to comment.