Update guoba.support.js

This commit is contained in:
Steve喵~ 2025-04-02 23:44:19 +08:00 committed by GitHub
parent d6a299c275
commit 876b2fdf9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,10 @@ export function supportGuoba() {
configInfo: { configInfo: {
// 配置项 schemas // 配置项 schemas
schemas: [ schemas: [
{
component: 'SOFT_GROUP_BEGIN',
label: '通用设置',
},
{ {
component: 'Divider', component: 'Divider',
label: '通用设置', label: '通用设置',
@ -42,6 +46,7 @@ export function supportGuoba() {
min: 50, min: 50,
max: 200, max: 200,
placeholder: '请输入数字', placeholder: '请输入数字',
addonAfter: '%'
}, },
}, },
{ {
@ -69,9 +74,9 @@ export function supportGuoba() {
field: 'config.update.cron', field: 'config.update.cron',
label: '推送时间', label: '推送时间',
bottomHelpMessage: '设置自动检查更新推送的时间cron表达式', bottomHelpMessage: '设置自动检查更新推送的时间cron表达式',
component: 'Input', component: 'EasyCron',
componentProps: { componentProps: {
placeholder: '请输入cron表达式', placeholder: '请输入或选择cron表达式',
}, },
}, },
{ {
@ -106,6 +111,7 @@ export function supportGuoba() {
min: 0, min: 0,
max: 1000, max: 1000,
placeholder: '请输入数字', placeholder: '请输入数字',
addonAfter: 's'
}, },
}, },
{ {
@ -149,6 +155,7 @@ export function supportGuoba() {
// min: 0, // min: 0,
// max: 1000, // max: 1000,
// placeholder: '请输入数字', // placeholder: '请输入数字',
// addonAfter: 's'
// }, // },
// }, // },
{ {
@ -166,6 +173,7 @@ export function supportGuoba() {
min: 0, min: 0,
max: 1000, max: 1000,
placeholder: '请输入数字', placeholder: '请输入数字',
addonAfter: 's'
}, },
}, },
{ {
@ -179,6 +187,7 @@ export function supportGuoba() {
min: 0, min: 0,
max: 1000, max: 1000,
placeholder: '请输入数字', placeholder: '请输入数字',
addonAfter: 's'
}, },
}, },
{ {
@ -238,12 +247,17 @@ export function supportGuoba() {
min: 1, min: 1,
max: 7, max: 7,
placeholder: '请输入数字17', placeholder: '请输入数字17',
addonAfter: '张'
}, },
}, },
{
component: 'SOFT_GROUP_BEGIN',
label: '其他设置',
},
{ {
component: 'Divider', component: 'Divider',
label: label:
'默认设备信息设置(通过"%设置默认设备"进行设置,如果不知道这是什么请勿修改)', '默认设备信息设置(通过'%设置默认设备'进行设置,如果不知道这是什么请勿修改)',
}, },
{ {
field: 'device.productName', field: 'device.productName',