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

Update info.vue

上级 a4c2c143
......@@ -38,6 +38,7 @@
<!-- <text @click="joinGroup" style="padding: 15px;text-align: center;color: #005eca;cursor: pointer;">申请加入</text> -->
</view>
<text v-else-if="isTmpGroup" style="padding: 15px;text-align: center;color: #666;">- 临时群聊 -</text>
<text v-else-if="isBissnessGroup" style="padding: 15px;text-align: center;color: #666;">- 业务群 -</text>
<text v-else class="exitGroup" @click="exitGroup">{{isGroupCreator?'解散群聊':'退出群聊'}}</text>
<uni-popup ref="popupInfo" type="dialog">
<uni-popup-dialog mode="input" :title="editorFields[editorType]" :placeholder="'请输入'+editorFields[editorType]"
......@@ -122,6 +123,9 @@
},
isTmpGroup(){
return this.conversation?.id?.indexOf('__tmp') === 0
},
isBissnessGroup(){
return this.conversation.group?.ext?.business_group_code
}
},
watch: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册