feat: 自动检查更新

This commit is contained in:
bietiaop 2024-08-20 16:10:17 +08:00
parent 94ae2b5183
commit 0ea8779c58
3 changed files with 81 additions and 15 deletions

View file

@ -48,10 +48,10 @@ export function supportGuoba() {
field: 'config.url',
label: '绑定设备下载url',
bottomHelpMessage: '设置自定义的绑定绑定设备下载url',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入绑定设备apk下载url',
}
},
},
{
field: 'config.query.others',
@ -59,6 +59,21 @@ export function supportGuoba() {
bottomHelpMessage: '是否允许查询他人信息',
component: 'Switch',
},
{
field: 'config.update.autoCheck',
label: '自动检查更新',
bottomHelpMessage: '是否开启自动检查更新(仅检查,不更新)',
component: 'Switch',
},
{
field: 'config.update.cron',
label: '自动检查更新时间',
bottomHelpMessage: '设置自动检查更新的时间cron表达式',
component: 'Input',
componentProps: {
placeholder: '请输入cron表达式',
},
},
{
component: 'Divider',
label: '抽卡分析设置',
@ -203,55 +218,55 @@ export function supportGuoba() {
field: 'device.productName',
label: 'productName(deviceProduct)',
bottomHelpMessage: '设置默认设备productName字段',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入productName',
}
},
},
{
field: 'device.productType',
label: 'productType(deviceName)',
bottomHelpMessage: '设置默认设备productType字段',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入productType',
}
},
},
{
field: 'device.modelName',
label: 'modelName(deviceModel)',
bottomHelpMessage: '设置默认设备modelName字段',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入modelName',
}
},
},
{
field: 'device.oaid',
label: 'oaid',
bottomHelpMessage: '设置默认设备oaid字段',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入oaid',
}
},
},
{
field: 'device.deviceInfo',
label: 'deviceInfo(deviceFingerprint)',
bottomHelpMessage: '设置默认设备deviceInfo字段',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入deviceInfo',
}
},
},
{
field: 'device.board',
label: 'board(deviceBoard)',
bottomHelpMessage: '设置默认设备board字段',
component:'Input',
component: 'Input',
componentProps: {
placeholder: '请输入board',
}
},
},
{
component: 'Divider',