perf: 站点监控增加是否自动同步IP开关

This commit is contained in:
xiaojunnuo
2026-01-09 01:20:04 +08:00
parent 1a29541140
commit 52689049ae
6 changed files with 24 additions and 11 deletions
@@ -651,14 +651,20 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
},
},
} as ColumnCompositionProps,
ipCount: {
title: t("certd.monitor.ipCount"),
search: {
show: false,
},
type: "text",
ipSyncAuto: {
title: t("certd.monitor.ipSyncAuto"),
type: "dict-switch",
dict: dict({
data: [
{ label: t("common.enabled"), value: true, color: "green" },
{ label: t("common.disabled"), value: false, color: "gray" },
],
}),
form: {
show: false,
value: true,
show: compute(({ form }) => {
return form.ipCheck;
}),
},
column: {
width: 100,