mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
feat: 手动开启/关闭群聊通过链接刷新抽卡记录&链接刷新抽卡记录黑白名单#38
This commit is contained in:
parent
8fd570a442
commit
3fef51cdf9
3 changed files with 124 additions and 13 deletions
|
|
@ -67,6 +67,49 @@ export function supportGuoba() {
|
|||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'gacha.allow_group',
|
||||
label: '群聊链接刷新',
|
||||
bottomHelpMessage: '是否允许群聊通过发送链接刷新抽卡记录',
|
||||
component: 'Switch',
|
||||
},
|
||||
{
|
||||
field: 'gacha.white_list',
|
||||
label: '白名单群聊',
|
||||
bottomHelpMessage: '在关闭群聊链接刷新时,允许通过链接刷新的群聊',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
mode: 'multiple',
|
||||
options: allGroup,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'gacha.black_list',
|
||||
label: '黑名单群聊',
|
||||
bottomHelpMessage: '在开启群聊链接刷新时,禁止通过链接刷新的群聊',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
mode: 'multiple',
|
||||
options: allGroup,
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'Divider',
|
||||
label: '深渊设置',
|
||||
},
|
||||
{
|
||||
field: 'abyss.interval',
|
||||
label: '冷却时间',
|
||||
bottomHelpMessage:
|
||||
'设置刷新深渊信息的冷却时间,单位为秒,取值范围为0~1000',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: 0,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'Divider',
|
||||
label: '面板设置',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue