|
@@ -119,13 +119,13 @@
|
|
|
</li> -->
|
|
|
</ul>
|
|
|
|
|
|
- <div v-if="currentUserDetail.groupRoleType === 'Owner'" class="admin-content space-top" style="background-color: #fff; padding-top: 12px;border-top: 1Px solid #f4f5f9;">
|
|
|
+ <div v-if="currentUserDetail.groupRoleType === 'Owner' || currentUserDetail.groupRoleType === 'Admin'" class="admin-content space-top" style="background-color: #fff; padding-top: 12px;border-top: 1Px solid #f4f5f9;">
|
|
|
<aside>
|
|
|
<label>学生禁言</label>
|
|
|
</aside>
|
|
|
<Slider :open="groupDetail.configJson.mute" @change="setAllMuteTime" />
|
|
|
</div>
|
|
|
- <div v-if="currentUserDetail.groupRoleType === 'Owner'" class="admin-content space-top" style="background-color: #fff; padding-top: 12px;border-top: 1Px solid #f4f5f9;" @click.stop="() => {
|
|
|
+ <div v-if="currentUserDetail.groupRoleType === 'Owner' || currentUserDetail.groupRoleType === 'Admin'" class="admin-content space-top" style="background-color: #fff; padding-top: 12px;border-top: 1Px solid #f4f5f9;" @click.stop="() => {
|
|
|
userInfo.muteList = []
|
|
|
setTab('onlyMute')
|
|
|
}">
|
|
@@ -736,6 +736,8 @@ const manage = defineComponent({
|
|
|
|
|
|
const submit = (userList: any) => {
|
|
|
console.log(userList, data.transferType, " data.transferType");
|
|
|
+ if(userList.length <= 0) return
|
|
|
+
|
|
|
if (data.transferType === "remove") {
|
|
|
data.userList = userList;
|
|
|
data.delDialogShow = !data.delDialogShow;
|
|
@@ -931,6 +933,7 @@ const manage = defineComponent({
|
|
|
});
|
|
|
|
|
|
data.currentUserDetail = res.data;
|
|
|
+
|
|
|
} catch {
|
|
|
//
|
|
|
}
|