Skip to content

Commit

Permalink
Web: Demo: Update dist (#780)
Browse files Browse the repository at this point in the history
* Web: Demo: Update

* Web: Demo: Update dist

Co-authored-by: lindalli <[email protected]>
  • Loading branch information
chenximo and lindalli committed Jul 3, 2020
1 parent bedaef4 commit e5e4c83
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions H5/dist/js/app.258da725.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions H5/dist/js/chunk-vendors.6f76ac5d.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<div class="info-item">
<div class="label">群类型</div>
<div class="content">{{ groupProfile.type }}</div>
<div class="content">{{ groupType}}</div>
</div>
<div class="info-item">
<div class="label">
Expand Down Expand Up @@ -292,6 +292,20 @@ export default {
showDissmissGroup() {
// 好友工作群不能解散
return this.isOwner && this.groupProfile.type !== this.TIM.TYPES.GRP_WORK
},
groupType() {
switch (this.groupProfile.type) {
case this.TIM.TYPES.GRP_WORK:
return '好友工作群(Work)'
case this.TIM.TYPES.GRP_PUBLIC:
return '陌生人社交群(Public)'
case this.TIM.TYPES.GRP_CHATROOM:
return '临时会议群(Meeting)'
case this.TIM.TYPES.GRP_AVCHATROOM:
return '直播群(AVChatRoom)'
default:
return ''
}
}
},
watch: {
Expand Down

0 comments on commit e5e4c83

Please sign in to comment.