Skip to content

Commit

Permalink
feat: 添加"使用者为管理员立即退群,为普通群员仅拒绝回复"选项 (#254)
Browse files Browse the repository at this point in the history
前端部分
  • Loading branch information
baiyu-yu authored Jan 8, 2025
1 parent 6925a09 commit 329ce57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/misc/banList/BanConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ watch(
<el-checkbox v-model="banConfig.banBehaviorQuitIfAdmin"
>使用者为管理员立即退群,为普通群员进行通告</el-checkbox
>
<el-checkbox v-model="banConfig.banBehaviorQuitIfAdminSilentIfNotAdmin"
>使用者为管理员立即退群,为普通群员仅拒绝回复</el-checkbox
>
</el-space>

<h4>怒气值设置</h4>
Expand Down
1 change: 1 addition & 0 deletions src/type.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export interface BanConfig {
banBehaviorQuitLastPlace: boolean;
banBehaviorQuitPlaceImmediately: boolean;
banBehaviorQuitIfAdmin: boolean;
banBehaviorQuitIfAdminSilentIfNotAdmin: boolean;

thresholdWarn: number;
thresholdBan: number;
Expand Down

0 comments on commit 329ce57

Please sign in to comment.