mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
feat: 设置指令优先级
This commit is contained in:
parent
dc5a07782d
commit
c785fb2d55
15 changed files with 241 additions and 95 deletions
112
guoba.support.js
112
guoba.support.js
|
|
@ -84,6 +84,118 @@ export function supportGuoba() {
|
|||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'Divider',
|
||||
label: '优先级设置(-1000~1000)',
|
||||
},
|
||||
{
|
||||
field: 'priority.card',
|
||||
label: '卡片查询',
|
||||
bottomHelpMessage: '设置玩家信息卡片查询指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.challenge',
|
||||
label: '深渊查询',
|
||||
bottomHelpMessage: '设置深渊查询指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.gachalog',
|
||||
label: '抽卡记录查询',
|
||||
bottomHelpMessage: '设置抽卡记录查询指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.guide',
|
||||
label: '攻略查询',
|
||||
bottomHelpMessage: '设置攻略查询指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.help',
|
||||
label: '帮助查询',
|
||||
bottomHelpMessage: '设置帮助指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.manage',
|
||||
label: '管理',
|
||||
bottomHelpMessage: '设置管理指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.note',
|
||||
label: '体力查询',
|
||||
bottomHelpMessage: '设置体力查询指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.panel',
|
||||
label: '面板查询',
|
||||
bottomHelpMessage: '设置面板查询指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.update',
|
||||
label: '更新插件',
|
||||
bottomHelpMessage: '设置更新插件指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
],
|
||||
getConfigData() {
|
||||
return settings.merge();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue