diff --git a/src/store/modules/chat/chat.js b/src/store/modules/chat/chat.js index b92e25a..ba79e80 100644 --- a/src/store/modules/chat/chat.js +++ b/src/store/modules/chat/chat.js @@ -2,7 +2,7 @@ import { login } from '@/api/chat'; import config from '@/configs'; import { ElMessage } from '@/plugins/element-plus'; import { UUID } from '@/utils/chat'; - +import dayjs from 'dayjs'; const state = () => ({ socket: null, heart: null,