From 3df6efa84c5c14e98bfa3a10126efee37c48ef97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=96=87=E5=8F=AF?= <1041367524@qq.com> Date: Tue, 17 May 2022 10:55:20 +0800 Subject: [PATCH] fix: dayjs --- src/store/modules/chat/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,