From 4fee4e75c6302861e604d7b79d80fe661827f3cf Mon Sep 17 00:00:00 2001 From: linju Date: Fri, 8 Nov 2024 16:58:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Conversation.=20=5F=5Fget?= =?UTF-8?q?=20=E5=8F=82=E6=95=B0=E6=94=AF=E6=8C=81=E4=BC=A0param.id?= =?UTF-8?q?=E8=A1=A8=E7=A4=BAparam.conversation=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk/state/Conversation.class.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/state/Conversation.class.js b/sdk/state/Conversation.class.js index 99498bc..301f65d 100644 --- a/sdk/state/Conversation.class.js +++ b/sdk/state/Conversation.class.js @@ -187,7 +187,7 @@ export default class Conversation extends CloudData { const loadMoreType = this.loadMore?.type || 'all' let conversation_id = param if (typeof param === "object"){ - conversation_id = param.conversation_id + conversation_id = param.id || param.conversation_id } const uniImCo = uniCloud.importObject("uni-im-co",{customUI: true}) const limit = this.loadLimit -- GitLab