提交 4fee4e75 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 Conversation. __get 参数支持传param.id表示param.conversation_id

上级 7ea67d3c
...@@ -187,7 +187,7 @@ export default class Conversation extends CloudData { ...@@ -187,7 +187,7 @@ export default class Conversation extends CloudData {
const loadMoreType = this.loadMore?.type || 'all' const loadMoreType = this.loadMore?.type || 'all'
let conversation_id = param let conversation_id = param
if (typeof param === "object"){ 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 uniImCo = uniCloud.importObject("uni-im-co",{customUI: true})
const limit = this.loadLimit const limit = this.loadLimit
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册