mirror of https://github.com/certd/certd
chore:
parent
35f01fc0c8
commit
d16730f0cf
|
@ -67,6 +67,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
rowHandle: {
|
rowHandle: {
|
||||||
|
show: false,
|
||||||
minWidth: 200,
|
minWidth: 200,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
buttons: {
|
buttons: {
|
||||||
|
@ -81,18 +82,21 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
table: {
|
||||||
|
rowKey: "name"
|
||||||
|
},
|
||||||
columns: {
|
columns: {
|
||||||
id: {
|
// id: {
|
||||||
title: "ID",
|
// title: "ID",
|
||||||
key: "id",
|
// key: "id",
|
||||||
type: "number",
|
// type: "number",
|
||||||
column: {
|
// column: {
|
||||||
width: 100
|
// width: 100
|
||||||
},
|
// },
|
||||||
form: {
|
// form: {
|
||||||
show: false
|
// show: false
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
name: {
|
name: {
|
||||||
title: "插件名称",
|
title: "插件名称",
|
||||||
type: "text",
|
type: "text",
|
||||||
|
@ -147,7 +151,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
title: "禁用/启用",
|
title: "点击禁用/启用",
|
||||||
type: "dict-switch",
|
type: "dict-switch",
|
||||||
dict: dict({
|
dict: dict({
|
||||||
data: [
|
data: [
|
||||||
|
@ -159,7 +163,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
value: false
|
value: false
|
||||||
},
|
},
|
||||||
column: {
|
column: {
|
||||||
width: 100,
|
width: 120,
|
||||||
align: "center",
|
align: "center",
|
||||||
component: {
|
component: {
|
||||||
title: "点击可禁用/启用",
|
title: "点击可禁用/启用",
|
||||||
|
|
Loading…
Reference in New Issue