perf: 禁用readonly用户

This commit is contained in:
xiaojunnuo
2024-10-27 00:04:02 +08:00
parent b780eab5f5
commit d10d42e206
3 changed files with 21 additions and 0 deletions
@@ -118,6 +118,21 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
}
}
},
status: {
title: "状态",
type: "dict-switch",
dict: dict({
data: [
{ label: "启用", value: 1, color: "green" },
{ label: "禁用", value: 0, color: "red" }
]
}),
column: {
align: "center",
sorter: true,
width: 100
}
},
remark: {
title: "备注",
type: "text",