修复已知问题

This commit is contained in:
bobobobo
2026-01-26 23:19:37 +08:00
parent 92ca8d72ce
commit 33bf08c981
15 changed files with 460 additions and 121 deletions

View File

@@ -233,7 +233,7 @@
'TUIGroup.群ID'
)}(${TUITranslateService.t('TUIGroup.选填')})`,
key: 'groupID',
placeholder: TUITranslateService.t('TUIGroup.请输入群ID')
placeholder: '搜索加入群使用'
}
return groupInfo.profile.type === TUIChatEngine.TYPES.GRP_COMMUNITY
? [groupNameInput]
@@ -352,7 +352,7 @@
break
case 'groupID':
groupInfo.groupConfig.title = '设置群ID'
groupInfo.groupConfig.placeholder = '请输入群ID'
groupInfo.groupConfig.placeholder = '搜索加入群使用'
groupInfo.groupConfig.type = 'input'
break
case 'type':

View File

@@ -69,14 +69,14 @@
</dd>
</dl>
<!-- <dl v-if="isShowAddMember" class="user-info-list-item">
<dt class="avatar" @click="toggleMask('add')">+</dt>
</dl>
<dl
v-if="currentSelfRole === 'Owner'"
class="user-info-list-item"
>
<dt class="avatar" @click="toggleMask('remove')">-</dt>
</dl> -->
<dt class="avatar" @click="toggleMask('add')">+</dt>
</dl>
<dl
v-if="currentSelfRole === 'Owner'"
class="user-info-list-item"
>
<dt class="avatar" @click="toggleMask('remove')">-</dt>
</dl> -->
</ol>
<div
v-if="groupMemberList.length > showUserNum"
@@ -749,8 +749,9 @@
switch (transferType.value) {
case 'add':
try {
imMemberResponse =
await TUIGroupService.getGroupMemberProfile(options)
imMemberResponse = await TUIGroupService.getGroupMemberProfile(
options
)
transferList.value = transferList.value.filter(
(item: any) => item.userID !== imResponse.data[0]?.userID
)
@@ -776,8 +777,9 @@
break
case 'remove':
try {
imResponse =
await TUIGroupService.getGroupMemberProfile(options)
imResponse = await TUIGroupService.getGroupMemberProfile(
options
)
if (imResponse.data.memberList.length === 0) {
const message = TUITranslateService.t(
'TUIGroup.该用户不在群组内'
@@ -848,7 +850,11 @@
groupID: currentGroupID.value,
userIDList
}
await TUIGroupService.addGroupMember(options)
try {
await TUIGroupService.addGroupMember(options)
} catch (error) {
console.log(error)
}
}
const changeOwner = async (userID: any) => {

View File

@@ -287,7 +287,7 @@
.admin-mute-all {
margin: 0 10px;
padding: 20px 0;
padding: 20rpx ;
border-bottom: 1px solid #e8e8e9;
display: flex;
flex-direction: row;