修复 ChatFree 重复刷消息的 Bug

This commit is contained in:
RockYang
2023-05-05 17:45:31 +08:00
parent e60decedd4
commit 21adfd441c
2 changed files with 11 additions and 9 deletions

View File

@@ -430,6 +430,7 @@ export default defineComponent({
// 加载聊天历史记录
fetchChatHistory: function (chatId) {
this.chatData = [];
const list = getChatHistory(chatId);
if (list) {
const md = require('markdown-it')();