聊天:修复格式

This commit is contained in:
luying
2021-11-04 17:54:15 +08:00
parent 8140ec391a
commit a1e66a09ac

View File

@@ -36,7 +36,7 @@ export default class ChatInfo extends BaseModel {
@prop({ required: true, default: '' })
bubbleId: string; // 气泡编号
@prop({ required: true, type: PrivateChatRec, default: [], _id: false })
recentPrivateChats: [PrivateChatRec]; // 最近聊天列表
recentPrivateChats: PrivateChatRec[]; // 最近聊天列表
public static async createInfo(data: ChatInfoParam) {
const roleId = data.roleId!;